|
||||||||||
| 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)
|
|
| Methods in org.axonframework.saga that return Saga | |
|---|---|
Saga |
SagaRepository.load(String sagaIdentifier)
Loads a known Saga instance by its unique identifier. |
| 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 |
SimpleResourceInjector.injectResources(Saga saga)
|
void |
ResourceInjector.injectResources(Saga saga)
Inject required resources into the given saga. |
| Method parameters in org.axonframework.saga with type arguments of type Saga | |
|---|---|
protected AssociationValue |
SimpleSagaManager.extractAssociationValue(Class<? extends Saga> type,
EventMessage event)
|
protected abstract AssociationValue |
AbstractSagaManager.extractAssociationValue(Class<? extends Saga> sagaType,
EventMessage event)
Extracts the AssociationValue from the given event as relevant for a Saga of given
sagaType. |
Set<String> |
SagaRepository.find(Class<? extends Saga> type,
AssociationValue associationValue)
Find saga instances of the given type that have been associated with the given
associationValue. |
protected SagaCreationPolicy |
SimpleSagaManager.getSagaCreationPolicy(Class<? extends Saga> type,
EventMessage event)
|
protected abstract SagaCreationPolicy |
AbstractSagaManager.getSagaCreationPolicy(Class<? extends Saga> sagaType,
EventMessage event)
Returns the Saga Creation Policy for a Saga of the given sagaType and event. |
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 | |
|---|---|
Class<? extends Saga> |
AsyncSagaProcessingEvent.getSagaType()
Returns the type of Saga being processed. |
| Method parameters in org.axonframework.saga.annotation with type arguments of type Saga | |
|---|---|
protected AssociationValue |
AnnotatedSagaManager.extractAssociationValue(Class<? extends Saga> sagaType,
EventMessage event)
|
protected SagaCreationPolicy |
AnnotatedSagaManager.getSagaCreationPolicy(Class<? extends Saga> sagaType,
EventMessage event)
|
| Uses of Saga in org.axonframework.saga.repository |
|---|
| Methods in org.axonframework.saga.repository that return Saga | |
|---|---|
Saga |
CachingSagaRepository.load(String sagaIdentifier)
|
| Methods in org.axonframework.saga.repository with parameters of type Saga | |
|---|---|
void |
CachingSagaRepository.add(Saga saga)
|
void |
AbstractSagaRepository.add(Saga saga)
|
void |
CachingSagaRepository.commit(Saga saga)
|
void |
AbstractSagaRepository.commit(Saga saga)
|
protected abstract void |
AbstractSagaRepository.deleteSaga(Saga saga)
Remove the given saga as well as all known association values pointing to it from the repository. |
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. |
| Method parameters in org.axonframework.saga.repository with type arguments of type Saga | |
|---|---|
Set<String> |
CachingSagaRepository.find(Class<? extends Saga> type,
AssociationValue associationValue)
|
Set<String> |
AbstractSagaRepository.find(Class<? extends Saga> type,
AssociationValue associationValue)
|
protected abstract Set<String> |
AbstractSagaRepository.findAssociatedSagaIdentifiers(Class<? extends Saga> type,
AssociationValue associationValue)
Finds the identifiers of the sagas of given type associated with the given
associationValue. |
protected abstract String |
AbstractSagaRepository.typeOf(Class<? extends Saga> sagaClass)
Returns the type identifier to use for the given sagaClass. |
| Uses of Saga in org.axonframework.saga.repository.inmemory |
|---|
| Methods in org.axonframework.saga.repository.inmemory that return Saga | |
|---|---|
Saga |
InMemorySagaRepository.load(String sagaIdentifier)
|
| Methods in org.axonframework.saga.repository.inmemory with parameters of type Saga | |
|---|---|
void |
InMemorySagaRepository.add(Saga saga)
|
void |
InMemorySagaRepository.commit(Saga saga)
|
| Method parameters in org.axonframework.saga.repository.inmemory with type arguments of type Saga | |
|---|---|
Set<String> |
InMemorySagaRepository.find(Class<? extends Saga> type,
AssociationValue associationValue)
|
| Uses of Saga in org.axonframework.saga.repository.jpa |
|---|
| Methods in org.axonframework.saga.repository.jpa that return Saga | |
|---|---|
Saga |
SagaEntry.getSaga(Serializer serializer)
Returns the Saga instance stored in this entry. |
Saga |
JpaSagaRepository.load(String sagaId)
|
| Methods in org.axonframework.saga.repository.jpa with parameters of type Saga | |
|---|---|
protected void |
JpaSagaRepository.deleteSaga(Saga saga)
|
protected void |
JpaSagaRepository.storeSaga(Saga saga)
|
protected void |
JpaSagaRepository.updateSaga(Saga saga)
|
| Method parameters in org.axonframework.saga.repository.jpa with type arguments of type Saga | |
|---|---|
protected Set<String> |
JpaSagaRepository.findAssociatedSagaIdentifiers(Class<? extends Saga> type,
AssociationValue associationValue)
|
protected String |
JpaSagaRepository.typeOf(Class<? extends Saga> sagaClass)
|
| Constructors in org.axonframework.saga.repository.jpa with parameters of type Saga | |
|---|---|
SagaEntry(Saga saga,
Serializer 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 | |||||||||