| Package | Description |
|---|---|
| org.axonframework.modelling.saga |
| Modifier and Type | Method and Description |
|---|---|
static <T> AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.builder()
Instantiate a Builder to be able to create a
AnnotatedSagaManager. |
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.handlerDefinition(HandlerDefinition handlerDefinition)
Sets the
HandlerDefinition used to create concrete handlers for the given sagaType. |
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.listenerInvocationErrorHandler(ListenerInvocationErrorHandler listenerInvocationErrorHandler) |
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers for the given
sagaType. |
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.sagaFactory(Supplier<T> sagaFactory) |
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.sagaModel(SagaModel<T> sagaModel)
Sets the
SagaModel of generic type T, describing the structure of the Saga this
AbstractSagaManager implementation will manage. |
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.sagaRepository(SagaRepository<T> sagaRepository) |
AnnotatedSagaManager.Builder<T> |
AnnotatedSagaManager.Builder.sagaType(Class<T> sagaType) |
| Constructor and Description |
|---|
AnnotatedSagaManager(AnnotatedSagaManager.Builder<T> builder)
Instantiate a
AnnotatedSagaManager based on the fields contained in the AnnotatedSagaManager.Builder. |
Copyright © 2010–2018. All rights reserved.