Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.eventhandling.saga | |
org.axonframework.eventhandling.saga.repository | |
org.axonframework.spring.config | |
org.axonframework.spring.saga | |
org.axonframework.test.utils |
A collection of classes which may prove useful when testing Axon-based classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationResourceInjector
ResourceInjector implementation that injects resources defined in the Axon Configuration.
|
Modifier and Type | Method and Description |
---|---|
protected ResourceInjector |
DefaultConfigurer.defaultResourceInjector(Configuration config)
Returns a
ConfigurationResourceInjector that injects resources defined in the given config
Configuration . |
default ResourceInjector |
Configuration.resourceInjector()
Returns the ResourceInjector used to provide resources to Saga instances.
|
Modifier and Type | Method and Description |
---|---|
default Configurer |
Configurer.configureResourceInjector(Function<Configuration,ResourceInjector> resourceInjectorBuilder)
Configures the given Resource Injector to use for Sagas in this configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceInjector
Abstract implementation of a
ResourceInjector for sagas that injects field and method resources. |
class |
SimpleResourceInjector
A resource injector that checks for
javax.inject.Inject annotated fields and setter methods to inject
resources. |
Modifier and Type | Class and Description |
---|---|
class |
NoResourceInjector
ResourceInjector that does not inject anything.
|
Constructor and Description |
---|
AnnotatedSagaRepository(Class<T> sagaType,
SagaStore<? super T> sagaStore,
ResourceInjector resourceInjector)
Initializes an AnnotatedSagaRepository for given
sagaType that stores sagas in the given sagaStore . |
AnnotatedSagaRepository(Class<T> sagaType,
SagaStore<? super T> sagaStore,
ResourceInjector resourceInjector,
ParameterResolverFactory parameterResolverFactory)
Initializes an AnnotatedSagaRepository for given
sagaType that stores sagas in the given sagaStore . |
AnnotatedSagaRepository(Class<T> sagaType,
SagaStore<? super T> sagaStore,
ResourceInjector resourceInjector,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Initializes an AnnotatedSagaRepository for given
sagaType that stores sagas in the given sagaStore . |
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 . |
Modifier and Type | Method and Description |
---|---|
ResourceInjector |
AxonConfiguration.resourceInjector() |
Modifier and Type | Class and Description |
---|---|
class |
SpringResourceInjector
ResourceInjector implementation that injects Saga instances with resources available from the Spring Application
context the injector is registered in.
|
Modifier and Type | Class and Description |
---|---|
class |
AutowiredResourceInjector
Resource injector that uses setter methods to inject resources.
|
Copyright © 2010–2018. All rights reserved.