Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.metrics | |
org.axonframework.spring.config |
Modifier and Type | Class and Description |
---|---|
class |
DefaultConfigurer
Entry point of the Axon Configuration API.
|
Modifier and Type | Method and Description |
---|---|
<A> Configurer |
DefaultConfigurer.configureAggregate(AggregateConfiguration<A> aggregateConfiguration) |
<A> Configurer |
Configurer.configureAggregate(AggregateConfiguration<A> aggregateConfiguration)
Configures an Aggregate in this configuration based on the given
aggregateConfiguration . |
default <A> Configurer |
Configurer.configureAggregate(Class<A> aggregate)
Configures an Aggregate using default settings.
|
default Configurer |
Configurer.configureCommandBus(Function<Configuration,CommandBus> commandBusBuilder)
Configure the given Command Bus to use in this configuration.
|
Configurer |
DefaultConfigurer.configureCorrelationDataProviders(Function<Configuration,List<CorrelationDataProvider>> correlationDataProviderBuilder) |
Configurer |
Configurer.configureCorrelationDataProviders(Function<Configuration,List<CorrelationDataProvider>> correlationDataProviderBuilder)
Configures the CorrelationDataProviders that Message processing components should use to attach correlation data
to outgoing messages.
|
Configurer |
DefaultConfigurer.configureEmbeddedEventStore(Function<Configuration,EventStorageEngine> storageEngineBuilder) |
Configurer |
Configurer.configureEmbeddedEventStore(Function<Configuration,EventStorageEngine> storageEngineBuilder)
Configure an Embedded Event Store which uses the given Event Storage Engine to store its events.
|
default Configurer |
Configurer.configureEventBus(Function<Configuration,EventBus> eventBusBuilder)
Configure the given Event Bus to use in this configuration.
|
default Configurer |
Configurer.configureEventStore(Function<Configuration,EventStore> eventStoreBuilder)
Configure the given Event Store to use in this configuration.
|
Configurer |
DefaultConfigurer.configureMessageMonitor(Function<Configuration,BiFunction<Class<?>,String,MessageMonitor<Message<?>>>> messageMonitorFactoryBuilder) |
Configurer |
Configurer.configureMessageMonitor(Function<Configuration,BiFunction<Class<?>,String,MessageMonitor<Message<?>>>> messageMonitorFactoryBuilder)
Configure the Message Monitor to use for the Message processing components in this configuration.
|
default Configurer |
Configurer.configureResourceInjector(Function<Configuration,ResourceInjector> resourceInjectorBuilder)
Configure the given Resource Injector to use for Sagas in this configuration.
|
default Configurer |
Configurer.configureSerializer(Function<Configuration,Serializer> serializerBuilder)
Configure the given Serializer to use in this configuration.
|
default Configurer |
Configurer.configureTransactionManager(Function<Configuration,TransactionManager> transactionManagerBuilder)
Configure the given Transaction Manager to use in this configuration.
|
static Configurer |
DefaultConfigurer.defaultConfiguration()
Returns a Configurer instance with default components configured, such as a
SimpleCommandBus and
SimpleEventBus . |
static Configurer |
DefaultConfigurer.jpaConfiguration(EntityManagerProvider entityManagerProvider)
Returns a Configurer instance which has JPA versions of building blocks configured, such as a JPA based Event
Store (see
JpaEventStorageEngine ), a JpaTokenStore and JpaSagaStore . |
Configurer |
DefaultConfigurer.registerCommandHandler(Function<Configuration,Object> annotatedCommandHandlerBuilder) |
Configurer |
Configurer.registerCommandHandler(Function<Configuration,Object> annotatedCommandHandlerBuilder)
Registers a command handler bean with this configuration.
|
<C> Configurer |
DefaultConfigurer.registerComponent(Class<C> componentType,
Function<Configuration,? extends C> componentBuilder) |
<C> Configurer |
Configurer.registerComponent(Class<C> componentType,
Function<Configuration,? extends C> componentBuilder)
Register a component which should be made available to other components or modules in this Configuration.
|
Configurer |
DefaultConfigurer.registerModule(ModuleConfiguration module) |
Configurer |
Configurer.registerModule(ModuleConfiguration module)
Register an Axon module with this configuration.
|
Modifier and Type | Method and Description |
---|---|
Configurer |
GlobalMetricRegistry.registerWithConfigurer(Configurer configurer)
Registers the metric registry with the given
configurer via
configureMessageMonitor(Function) . |
Modifier and Type | Method and Description |
---|---|
Configurer |
GlobalMetricRegistry.registerWithConfigurer(Configurer configurer)
Registers the metric registry with the given
configurer via
configureMessageMonitor(Function) . |
Constructor and Description |
---|
AxonConfiguration(Configurer configurer)
Initializes a new
AxonConfiguration that uses the given configurer to build the configuration. |
Copyright © 2010–2017. All rights reserved.