Package | Description |
---|---|
org.axonframework.eventhandling.saga | |
org.axonframework.eventhandling.saga.metamodel | |
org.axonframework.eventhandling.saga.repository |
Constructor and Description |
---|
AnnotatedSaga(String sagaId,
Set<AssociationValue> associationValues,
T annotatedSaga,
TrackingToken trackingToken,
SagaModel<T> metaModel)
Creates an AnnotatedSaga instance to wrap the given
annotatedSaga , identifier with the given
sagaId and associated with the given associationValues . |
AnnotatedSagaManager(Class<T> sagaType,
SagaRepository<T> sagaRepository,
Supplier<T> sagaFactory,
SagaModel<T> sagaMetaModel,
ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Initialize the AnnotatedSagaManager using given
repository to load sagas, the sagaFactory to
create new sagas and the sagaMetaModel to delegate messages to the saga instances. |
Modifier and Type | Method and Description |
---|---|
<T> SagaModel<T> |
SagaMetaModelFactory.modelOf(Class<T> sagaType)
Create a saga meta model for the given
sagaType . |
<T> SagaModel<T> |
AnnotationSagaMetaModelFactory.modelOf(Class<T> sagaType) |
Constructor and Description |
---|
AnnotatedSagaRepository(Class<T> sagaType,
SagaStore<? super T> sagaStore,
SagaModel<T> sagaModel,
ResourceInjector resourceInjector,
LockFactory lockFactory)
Initializes an AnnotatedSagaRepository for given
sagaType that stores sagas in the given sagaStore . |
Copyright © 2010–2018. All rights reserved.