Package | Description |
---|---|
org.axonframework.modelling.saga.repository |
Modifier and Type | Method and Description |
---|---|
static <T> AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.builder()
Instantiate a Builder to be able to create an
AnnotatedSagaRepository . |
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.handlerDefinition(HandlerDefinition handlerDefinition)
Sets the
HandlerDefinition used to create concrete handlers for the given sagaType . |
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.lockFactory(LockFactory lockFactory) |
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers for the given
sagaType . |
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.resourceInjector(ResourceInjector resourceInjector)
Sets the
ResourceInjector used to initialize Saga instances after a target instance is
created or loaded from the store. |
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.sagaModel(SagaModel<T> sagaModel)
Sets the
SagaModel of generic type T , describing the structure of the Saga this
SagaRepository implementation will store. |
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.sagaStore(SagaStore<? super T> sagaStore)
Sets the
SagaStore used to save and load saga instances. |
AnnotatedSagaRepository.Builder<T> |
AnnotatedSagaRepository.Builder.sagaType(Class<T> sagaType)
|
Constructor and Description |
---|
AnnotatedSagaRepository(AnnotatedSagaRepository.Builder<T> builder)
Instantiate a
AnnotatedSagaRepository based on the fields contained in the AnnotatedSagaRepository.Builder . |
Copyright © 2010–2022. All rights reserved.