Package | Description |
---|---|
org.axonframework.modelling.saga |
Modifier and Type | Class and Description |
---|---|
static class |
AnnotatedSagaManager.Builder<T>
Builder class to instantiate a
AnnotatedSagaManager . |
Modifier and Type | Method and Description |
---|---|
AbstractSagaManager.Builder<T> |
AbstractSagaManager.Builder.listenerInvocationErrorHandler(ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Sets the
ListenerInvocationErrorHandler invoked when an error occurs. |
AbstractSagaManager.Builder<T> |
AbstractSagaManager.Builder.sagaFactory(Supplier<T> sagaFactory)
Sets the
sagaFactory of type Supplier responsible for creating new Saga instances. |
AbstractSagaManager.Builder<T> |
AbstractSagaManager.Builder.sagaRepository(SagaRepository<T> sagaRepository)
Sets the
SagaRepository of generic type T used to save and load Saga instances. |
AbstractSagaManager.Builder<T> |
AbstractSagaManager.Builder.sagaType(Class<T> sagaType)
Sets the
sagaType as a Class managed by this instance. |
Constructor and Description |
---|
AbstractSagaManager(AbstractSagaManager.Builder<T> builder)
Instantiate a
AbstractSagaManager based on the fields contained in the AbstractSagaManager.Builder . |
Copyright © 2010–2019. All rights reserved.