Package org.axonframework.config
Interface SagaConfiguration<S>
- Type Parameters:
S- a generic specifying the Saga type
public interface SagaConfiguration<S>
Represents a set of components needed to configure a Saga.
- Since:
- 4.0
- Author:
- Milan Savic
-
Method Summary
Modifier and TypeMethodDescription<T extends EventProcessor>
TGets theEventProcessorresponsible for delivering events to this Saga.Retrieve the Saga'sListenerInvocationErrorHandler.manager()Retrieve the Saga Manager in this Configuration.Gets the Processing Group this Saga is assigned to.Retrieve theSagaRepositoryin this Configuration.store()Retrieve theSagaStorein this Configuration.type()Gets the Saga Type.
-
Method Details
-
type
Gets the Saga Type.- Returns:
- the Saga Type
-
manager
AbstractSagaManager<S> manager()Retrieve the Saga Manager in this Configuration.- Returns:
- the Manager for this Saga Configuration
-
repository
SagaRepository<S> repository()Retrieve theSagaRepositoryin this Configuration.- Returns:
- the
SagaRepositoryin this Configuration
-
store
Retrieve theSagaStorein this Configuration.- Returns:
- the
SagaStorein this Configuration
-
listenerInvocationErrorHandler
ListenerInvocationErrorHandler listenerInvocationErrorHandler()Retrieve the Saga'sListenerInvocationErrorHandler.- Returns:
- the Saga's
ListenerInvocationErrorHandler
-
eventProcessor
Gets theEventProcessorresponsible for delivering events to this Saga.- Type Parameters:
T- the type of theEventProcessor- Returns:
- the
EventProcessorfor this Saga
-
processingGroup
String processingGroup()Gets the Processing Group this Saga is assigned to.- Returns:
- the Processing Group this Saga is assigned to
-