Constructor and Description |
---|
AbstractSagaManager(EventBus eventBus,
SagaRepository sagaRepository,
SagaFactory sagaFactory,
Class<? extends Saga>... sagaTypes)
Initializes the SagaManager with the given
eventBus and sagaRepository . |
SimpleSagaManager(Class<? extends Saga> sagaType,
SagaRepository sagaRepository,
AssociationValueResolver associationValueResolver,
EventBus eventBus)
Initialize a SimpleSagaManager backed by the given resources, using a GenericSagaFactory.
|
SimpleSagaManager(Class<? extends Saga> sagaType,
SagaRepository sagaRepository,
AssociationValueResolver associationValueResolver,
SagaFactory sagaFactory,
EventBus eventBus)
Initialize a SimpleSagaManager backed by the given resources.
|
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,
EventBus eventBus,
Class<? extends AbstractAnnotatedSaga>... sagaClasses)
Initialize the AnnotatedSagaManager using the given resources, and using a
GenericSagaFactory . |
AnnotatedSagaManager(SagaRepository sagaRepository,
SagaFactory sagaFactory,
EventBus eventBus,
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,
net.sf.jsr107cache.Cache associationsCache,
net.sf.jsr107cache.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 |
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-2013. All Rights Reserved.