Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.modelling.saga | |
org.axonframework.modelling.saga.repository | |
org.axonframework.spring.config | |
org.axonframework.spring.saga | |
org.axonframework.springboot.autoconfig | |
org.axonframework.test.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 @Inject annotated fields and setter methods to inject resources.
|
Modifier and Type | Class and Description |
---|---|
class |
NoResourceInjector
ResourceInjector that does not inject anything.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
ResourceInjector |
AxonConfiguration.resourceInjector()
Deprecated.
|
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 | Method and Description |
---|---|
ResourceInjector |
InfraConfiguration.resourceInjector() |
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration |
SagaTestFixture.registerResourceInjector(ResourceInjector resourceInjector) |
FixtureConfiguration |
FixtureConfiguration.registerResourceInjector(ResourceInjector resourceInjector)
Registers a
ResourceInjector within this fixture. |
Modifier and Type | Class and Description |
---|---|
class |
AutowiredResourceInjector
Deprecated.
in favor of the
SimpleResourceInjector |
Copyright © 2010–2024. All rights reserved.