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. |
AbstractSagaManager.Builder<T> |
AbstractSagaManager.Builder.spanFactory(SagaManagerSpanFactory spanFactory)
Sets the
SagaManagerSpanFactory implementation to use for providing tracing capabilities. |
AbstractSagaManager.Builder<T> |
AbstractSagaManager.Builder.spanFactory(SpanFactory spanFactory)
Deprecated.
Use {@link #spanFactory(SagaManagerSpanFactory) instead as it provides more configuration options.
|
Constructor and Description |
---|
AbstractSagaManager(AbstractSagaManager.Builder<T> builder)
Instantiate a
AbstractSagaManager based on the fields contained in the AbstractSagaManager.Builder . |
Copyright © 2010–2024. All rights reserved.