InteractionServiceDefault

Default implementation of InteractionService , keeping track of the current Interaction

API

InteractionServiceDefault.java
class InteractionServiceDefault {
  InteractionServiceDefault(MetamodelEventService runtimeEventService, SpecificationLoader specificationLoader, ServiceInjector serviceInjector, TransactionServiceSpring transactionServiceSpring, ClockService clockService, Provider<CommandPublisher> commandPublisherProvider, ConfigurableBeanFactory beanFactory, InteractionIdGenerator interactionIdGenerator)
  void init(ContextRefreshedEvent event)
  int getInteractionLayerCount()
  InteractionLayer openInteraction()
  InteractionLayer openInteraction(InteractionContext interactionContextToUse)
  void closeInteractionLayers()
  Optional<InteractionLayer> currentInteractionLayer()
  boolean isInInteraction()
  R call(InteractionContext interactionContext, Callable<R> callable)
  void run(InteractionContext interactionContext, ThrowingRunnable runnable)
  R callAnonymous(Callable<R> callable)
  void runAnonymous(ThrowingRunnable runnable)     (1)
  Optional<UUID> getInteractionId()
  void completeAndPublishCurrentCommand()     (2)
}
1 runAnonymous(ThrowingRunnable)

Variant of #callAnonymous(Callable) that takes a runnable.

2 completeAndPublishCurrentCommand()

called by TransactionServiceSpring , but to be moved.

Members

runAnonymous(ThrowingRunnable)

Variant of #callAnonymous(Callable) that takes a runnable.

completeAndPublishCurrentCommand()

called by TransactionServiceSpring , but to be moved.