| 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)
Configures 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)
Configures an Embedded Event Store which uses the given Event Storage Engine to store its events. 
 | 
default Configurer | 
Configurer.configureEventBus(Function<Configuration,EventBus> eventBusBuilder)
Configures the given Event Bus to use in this configuration. 
 | 
Configurer | 
DefaultConfigurer.configureEventSerializer(Function<Configuration,Serializer> eventSerializerBuilder)  | 
Configurer | 
Configurer.configureEventSerializer(Function<Configuration,Serializer> eventSerializerBuilder)
Configures the given event Serializer to use in this configuration. 
 | 
default Configurer | 
Configurer.configureEventStore(Function<Configuration,EventStore> eventStoreBuilder)
Configures the given Event Store to use in this configuration. 
 | 
default Configurer | 
Configurer.configureMessageMonitor(Class<?> componentType,
                       Function<Configuration,MessageMonitor<Message<?>>> messageMonitorBuilder)
Configures the builder function to create the Message Monitor for the Message processing components in this
 configuration that match the given componentType, unless more specific configuration based on both type and name
 is available. 
 | 
Configurer | 
DefaultConfigurer.configureMessageMonitor(Class<?> componentType,
                       MessageMonitorFactory messageMonitorFactory)  | 
Configurer | 
Configurer.configureMessageMonitor(Class<?> componentType,
                       MessageMonitorFactory messageMonitorFactory)
Configures the factory to create the Message Monitor for the Message processing components in this configuration
 that match the given componentType, unless more specific configuration based on both type and name is available. 
 | 
default Configurer | 
Configurer.configureMessageMonitor(Class<?> componentType,
                       String componentName,
                       Function<Configuration,MessageMonitor<Message<?>>> messageMonitorBuilder)
Configures the builder function to create the Message Monitor for the Message processing components in this
 configuration that match the given class and name. 
 | 
Configurer | 
DefaultConfigurer.configureMessageMonitor(Class<?> componentType,
                       String componentName,
                       MessageMonitorFactory messageMonitorFactory)  | 
Configurer | 
Configurer.configureMessageMonitor(Class<?> componentType,
                       String componentName,
                       MessageMonitorFactory messageMonitorFactory)
Configures the factory create the Message Monitor for those Message processing components in this configuration
 that match the given class and name. 
 | 
Configurer | 
DefaultConfigurer.configureMessageMonitor(Function<Configuration,BiFunction<Class<?>,String,MessageMonitor<Message<?>>>> builder)  | 
Configurer | 
Configurer.configureMessageMonitor(Function<Configuration,BiFunction<Class<?>,String,MessageMonitor<Message<?>>>> messageMonitorFactoryBuilder)
Configures the Message Monitor to use for the Message processing components in this configuration, unless more
 specific configuration based on the component's type, or type and name is available. 
 | 
Configurer | 
DefaultConfigurer.configureMessageSerializer(Function<Configuration,Serializer> messageSerializerBuilder)  | 
Configurer | 
Configurer.configureMessageSerializer(Function<Configuration,Serializer> messageSerializerBuilder)
Configures the given event Serializer to use in this configuration. 
 | 
default Configurer | 
Configurer.configureQueryBus(Function<Configuration,QueryBus> queryBusBuilder)
Configures the given Query Bus to use in this configuration. 
 | 
default Configurer | 
Configurer.configureResourceInjector(Function<Configuration,ResourceInjector> resourceInjectorBuilder)
Configures the given Resource Injector to use for Sagas in this configuration. 
 | 
default Configurer | 
Configurer.configureSerializer(Function<Configuration,Serializer> serializerBuilder)
Configures the given Serializer to use in this configuration. 
 | 
default Configurer | 
Configurer.configureTransactionManager(Function<Configuration,TransactionManager> transactionManagerBuilder)
Configures 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. | 
static Configurer | 
DefaultConfigurer.jpaConfiguration(EntityManagerProvider entityManagerProvider,
                TransactionManager transactionManager)
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)
Registers a component which should be made available to other components or modules in this Configuration. 
 | 
Configurer | 
DefaultConfigurer.registerEventUpcaster(Function<Configuration,EventUpcaster> upcasterBuilder)  | 
Configurer | 
Configurer.registerEventUpcaster(Function<Configuration,EventUpcaster> upcasterBuilder)
Registers an upcaster to be used to upcast Events to a newer version 
 | 
Configurer | 
DefaultConfigurer.registerModule(ModuleConfiguration module)  | 
Configurer | 
Configurer.registerModule(ModuleConfiguration module)
Registers an Axon module with this configuration. 
 | 
Configurer | 
DefaultConfigurer.registerQueryHandler(Function<Configuration,Object> annotatedQueryHandlerBuilder)  | 
Configurer | 
Configurer.registerQueryHandler(Function<Configuration,Object> annotatedQueryHandlerBuilder)
Registers a query handler bean with this configuration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ConfigurerModule.configureModule(Configurer configurer)
Configure this module to the given global  
Configurer. | 
| 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 | 
|---|---|
void | 
MetricsConfigurerModule.configureModule(Configurer configurer)  | 
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–2018. All rights reserved.