Constructor and Description |
---|
AbstractSagaManager(EventBus eventBus,
SagaRepository sagaRepository,
SagaFactory sagaFactory,
Class<? extends Saga>... sagaTypes)
Deprecated.
|
AbstractSagaManager(SagaRepository sagaRepository,
SagaFactory sagaFactory,
Class<? extends Saga>... sagaTypes)
Initializes the SagaManager with the given
sagaRepository . |
SimpleSagaManager(Class<? extends Saga> sagaType,
SagaRepository sagaRepository,
AssociationValueResolver associationValueResolver)
Initialize a SimpleSagaManager backed by the given resources, using a GenericSagaFactory.
|
SimpleSagaManager(Class<? extends Saga> sagaType,
SagaRepository sagaRepository,
AssociationValueResolver associationValueResolver,
EventBus eventBus)
|
SimpleSagaManager(Class<? extends Saga> sagaType,
SagaRepository sagaRepository,
AssociationValueResolver associationValueResolver,
SagaFactory sagaFactory)
Initialize a SimpleSagaManager backed by the given resources.
|
SimpleSagaManager(Class<? extends Saga> sagaType,
SagaRepository sagaRepository,
AssociationValueResolver associationValueResolver,
SagaFactory sagaFactory,
EventBus eventBus)
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncAnnotatedSagaManager.setSagaRepository(SagaRepository sagaRepository)
Sets the saga repository to store and load Sagas from.
|
Constructor and Description |
---|
AnnotatedSagaManager(SagaRepository sagaRepository,
Class<? extends AbstractAnnotatedSaga>... sagaClasses)
Initialize the AnnotatedSagaManager using given
repository to load sagas and supporting given
annotated sagaClasses . |
AnnotatedSagaManager(SagaRepository sagaRepository,
EventBus eventBus,
Class<? extends AbstractAnnotatedSaga>... sagaClasses)
Deprecated.
use
AnnotatedSagaManager.AnnotatedSagaManager(org.axonframework.saga.SagaRepository,
Class[]) instead and register this instance using EventBus.subscribe(org.axonframework.eventhandling.EventListener) |
AnnotatedSagaManager(SagaRepository sagaRepository,
ParameterResolverFactory parameterResolverFactory,
Class<? extends AbstractAnnotatedSaga>... sagaClasses)
Initialize the AnnotatedSagaManager using given
repository to load sagas and supporting given
annotated sagaClasses . |
AnnotatedSagaManager(SagaRepository sagaRepository,
SagaFactory sagaFactory,
Class<? extends AbstractAnnotatedSaga>... sagaClasses)
Initialize the AnnotatedSagaManager using the given resources.
|
AnnotatedSagaManager(SagaRepository sagaRepository,
SagaFactory sagaFactory,
EventBus eventBus,
Class<? extends AbstractAnnotatedSaga>... sagaClasses)
Deprecated.
|
AnnotatedSagaManager(SagaRepository sagaRepository,
SagaFactory sagaFactory,
ParameterResolverFactory parameterResolverFactory,
Class<? extends AbstractAnnotatedSaga>... sagaClasses)
Initialize the AnnotatedSagaManager using the given resources.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSagaRepository
Abstract implementation for saga repositories.
|
class |
CachingSagaRepository
Saga Repository implementation that adds caching behavior to the repository it wraps.
|
Constructor and Description |
---|
CachingSagaRepository(SagaRepository delegate,
Cache associationsCache,
Cache sagaCache)
Initializes an instance delegating to the given
delegate , storing associations in the given
associationsCache and Saga instances in the given sagaCache . |
Modifier and Type | Class and Description |
---|---|
class |
InMemorySagaRepository
SagaRepository implementation that stores all Saga instances in memory.
|
Modifier and Type | Class and Description |
---|---|
class |
JdbcSagaRepository
Jdbc implementation of the Saga Repository.
|
Modifier and Type | Class and Description |
---|---|
class |
JpaSagaRepository
JPA implementation of the Saga Repository.
|
Modifier and Type | Class and Description |
---|---|
class |
MongoSagaRepository
Implementations of the SagaRepository that stores Sagas and their associations in a Mongo Database.
|
Copyright © 2010-2014. All Rights Reserved.