|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Saga in org.axonframework.saga |
|---|
| Methods in org.axonframework.saga with type parameters of type Saga | ||
|---|---|---|
|
SagaFactory.createSaga(Class<T> sagaType)
Create a new instance of a Saga of given type. |
|
|
GenericSagaFactory.createSaga(Class<T> sagaType)
|
|
protected
|
AbstractSagaManager.createSaga(Class<T> sagaType)
Create a new instance of a Saga of the given sagaType. |
|
|
SagaRepository.find(Class<T> type,
Set<AssociationValue> associationValue)
Find saga instances of the given type that have been associated with the given
associationValue. |
|
|
SagaRepository.load(Class<T> type,
String sagaIdentifier)
Loads a known Saga instance by its unique identifier. |
|
| Methods in org.axonframework.saga that return types with arguments of type Saga | |
|---|---|
protected Set<Saga> |
SimpleSagaManager.findSagas(Event event)
|
protected abstract Set<Saga> |
AbstractSagaManager.findSagas(Event event)
Finds the saga instances that the given event needs to be routed to. |
| Methods in org.axonframework.saga with parameters of type Saga | |
|---|---|
void |
SagaRepository.add(Saga saga)
Registers a newly created Saga with the Repository. |
void |
SagaRepository.commit(Saga saga)
Commits the changes made to the Saga instance. |
protected void |
AbstractSagaManager.commit(Saga saga)
Commits the given saga to the registered repository. |
void |
ResourceInjector.injectResources(Saga saga)
Inject required resources into the given saga. |
| Method parameters in org.axonframework.saga with type arguments of type Saga | |
|---|---|
boolean |
SagaFactory.supports(Class<? extends Saga> sagaType)
Indicates whether or not this factory can create instances of the given sagaType. |
boolean |
GenericSagaFactory.supports(Class<? extends Saga> sagaType)
Indicates whether or not this factory can create instances of the given sagaType. |
| Constructor parameters in org.axonframework.saga with type arguments of type Saga | |
|---|---|
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. |
|
| Uses of Saga in org.axonframework.saga.annotation |
|---|
| Classes in org.axonframework.saga.annotation that implement Saga | |
|---|---|
class |
AbstractAnnotatedSaga
Implementation of the interface that delegates incoming events to @SagaEventHandler annotated methods. |
| Methods in org.axonframework.saga.annotation that return types with arguments of type Saga | |
|---|---|
protected Set<Saga> |
AnnotatedSagaManager.findSagas(Event event)
|
| Uses of Saga in org.axonframework.saga.repository |
|---|
| Methods in org.axonframework.saga.repository with type parameters of type Saga | ||
|---|---|---|
|
AbstractSagaRepository.find(Class<T> type,
Set<AssociationValue> associationValues)
|
|
|
AbstractSagaRepository.load(Class<T> type,
String sagaIdentifier)
|
|
protected abstract
|
AbstractSagaRepository.loadSaga(Class<T> type,
String sagaIdentifier)
Loads a known Saga instance by its unique identifier. |
|
| Methods in org.axonframework.saga.repository that return Saga | |
|---|---|
Saga |
XStreamSagaSerializer.deserialize(byte[] serializedSaga)
|
Saga |
SagaSerializer.deserialize(byte[] serializedSaga)
Deserializes the given serializedSaga. |
Saga |
JavaSagaSerializer.deserialize(byte[] serializedSaga)
|
Saga |
SagaCache.get(String sagaIdentifier)
Retrieves the Saga instance with the given sagaIdentifier, or null if none was found. |
Saga |
SagaCache.put(Saga saga)
Puts the given saga in this cache, if no saga with the same identifier already exists. |
| Methods in org.axonframework.saga.repository with parameters of type Saga | |
|---|---|
void |
AbstractSagaRepository.add(Saga saga)
|
void |
AbstractSagaRepository.commit(Saga saga)
|
Saga |
SagaCache.put(Saga saga)
Puts the given saga in this cache, if no saga with the same identifier already exists. |
byte[] |
XStreamSagaSerializer.serialize(Saga saga)
|
byte[] |
SagaSerializer.serialize(Saga saga)
Serialize the given saga to a byte array. |
byte[] |
JavaSagaSerializer.serialize(Saga saga)
|
protected abstract void |
AbstractSagaRepository.storeSaga(Saga saga)
Stores a newly created Saga instance. |
protected abstract void |
AbstractSagaRepository.updateSaga(Saga saga)
Update a stored Saga, by replacing it with the given saga instance. |
| Uses of Saga in org.axonframework.saga.repository.inmemory |
|---|
| Methods in org.axonframework.saga.repository.inmemory with type parameters of type Saga | ||
|---|---|---|
|
InMemorySagaRepository.find(Class<T> type,
Set<AssociationValue> associationValues)
|
|
|
InMemorySagaRepository.load(Class<T> type,
String sagaIdentifier)
|
|
| Methods in org.axonframework.saga.repository.inmemory with parameters of type Saga | |
|---|---|
void |
InMemorySagaRepository.add(Saga saga)
|
void |
InMemorySagaRepository.commit(Saga saga)
|
| Uses of Saga in org.axonframework.saga.repository.jpa |
|---|
| Methods in org.axonframework.saga.repository.jpa with type parameters of type Saga | ||
|---|---|---|
protected
|
JpaSagaRepository.loadSaga(Class<T> type,
String sagaId)
|
|
| Methods in org.axonframework.saga.repository.jpa that return Saga | |
|---|---|
Saga |
SagaEntry.getSaga(SagaSerializer serializer)
Returns the Saga instance stored in this entry. |
| Methods in org.axonframework.saga.repository.jpa with parameters of type Saga | |
|---|---|
protected void |
JpaSagaRepository.storeSaga(Saga saga)
|
protected void |
JpaSagaRepository.updateSaga(Saga saga)
|
| Constructors in org.axonframework.saga.repository.jpa with parameters of type Saga | |
|---|---|
SagaEntry(Saga saga,
SagaSerializer serializer)
Constructs a new SagaEntry for the given saga. |
|
| Uses of Saga in org.axonframework.saga.spring |
|---|
| Methods in org.axonframework.saga.spring with parameters of type Saga | |
|---|---|
void |
SpringResourceInjector.injectResources(Saga saga)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||