Package | Description |
---|---|
org.axonframework.axonserver.connector | |
org.axonframework.config | |
org.axonframework.metrics | |
org.axonframework.micrometer | |
org.axonframework.spring.config |
Modifier and Type | Method and Description |
---|---|
void |
ServerConnectorConfigurerModule.configureModule(Configurer configurer) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultConfigurer
Entry point of the Axon Configuration API.
|
Modifier and Type | Method and Description |
---|---|
<A> Configurer |
Configurer.configureAggregate(AggregateConfiguration<A> aggregateConfiguration)
Configures an Aggregate in this configuration based on the given
aggregateConfiguration . |
<A> Configurer |
DefaultConfigurer.configureAggregate(AggregateConfiguration<A> 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 |
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.configureCorrelationDataProviders(Function<Configuration,List<CorrelationDataProvider>> correlationDataProviderBuilder) |
Configurer |
Configurer.configureEmbeddedEventStore(Function<Configuration,EventStorageEngine> storageEngineBuilder)
Configures an Embedded Event Store which uses the given Event Storage Engine to store its events.
|
Configurer |
DefaultConfigurer.configureEmbeddedEventStore(Function<Configuration,EventStorageEngine> storageEngineBuilder) |
default Configurer |
Configurer.configureEventBus(Function<Configuration,EventBus> eventBusBuilder)
Configures the given Event Bus to use in this configuration.
|
Configurer |
Configurer.configureEventSerializer(Function<Configuration,Serializer> eventSerializerBuilder)
Configures the given event Serializer to use in this configuration.
|
Configurer |
DefaultConfigurer.configureEventSerializer(Function<Configuration,Serializer> eventSerializerBuilder) |
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 |
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.
|
Configurer |
DefaultConfigurer.configureMessageMonitor(Class<?> componentType,
MessageMonitorFactory messageMonitorFactory) |
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 |
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(Class<?> componentType,
String componentName,
MessageMonitorFactory messageMonitorFactory) |
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.configureMessageMonitor(Function<Configuration,BiFunction<Class<?>,String,MessageMonitor<Message<?>>>> builder) |
Configurer |
Configurer.configureMessageSerializer(Function<Configuration,Serializer> messageSerializerBuilder)
Configures the given event Serializer to use in this configuration.
|
Configurer |
DefaultConfigurer.configureMessageSerializer(Function<Configuration,Serializer> messageSerializerBuilder) |
default Configurer |
Configurer.configureQueryBus(Function<Configuration,QueryBus> queryBusBuilder)
Configures the given Query Bus to use in this configuration.
|
default Configurer |
Configurer.configureQueryUpdateEmitter(Function<Configuration,QueryUpdateEmitter> queryUpdateEmitterBuilder)
Configures the given Query Update Emitter 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.defaultConfiguration(boolean autoLocateConfigurerModules)
Returns a Configurer instance with default components configured, such as a
SimpleCommandBus and
SimpleEventBus , indicating whether to autoLocateConfigurerModules . |
default Configurer |
Configurer.eventProcessing(Consumer<EventProcessingConfigurer> eventProcessingConfigurer)
Locates the
EventProcessingConfigurer registered as a module with this Configurer and provides it to the
given consumer for configuration. |
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 . |
default Configurer |
Configurer.registerCommandHandler(Function<Configuration,Object> annotatedCommandHandlerBuilder)
Registers a command handler bean with this configuration.
|
Configurer |
Configurer.registerCommandHandler(int phase,
Function<Configuration,Object> annotatedCommandHandlerBuilder)
Registers a command handler bean with this configuration.
|
Configurer |
DefaultConfigurer.registerCommandHandler(int phase,
Function<Configuration,Object> annotatedCommandHandlerBuilder) |
<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.
|
<C> Configurer |
DefaultConfigurer.registerComponent(Class<C> componentType,
Function<Configuration,? extends C> componentBuilder) |
default Configurer |
Configurer.registerEventHandler(Function<Configuration,Object> eventHandlerBuilder)
Registers a
Function that builds an Event Handler instance. |
Configurer |
Configurer.registerEventUpcaster(Function<Configuration,EventUpcaster> upcasterBuilder)
Registers an upcaster to be used to upcast Events to a newer version
|
Configurer |
DefaultConfigurer.registerEventUpcaster(Function<Configuration,EventUpcaster> upcasterBuilder) |
Configurer |
Configurer.registerHandlerDefinition(BiFunction<Configuration,Class,HandlerDefinition> handlerDefinitionClass)
Registers the definition of a Handler class.
|
Configurer |
DefaultConfigurer.registerHandlerDefinition(BiFunction<Configuration,Class,HandlerDefinition> handlerDefinitionClass) |
Configurer |
Configurer.registerModule(ModuleConfiguration module)
Registers an Axon module with this configuration.
|
Configurer |
DefaultConfigurer.registerModule(ModuleConfiguration module) |
default Configurer |
Configurer.registerQueryHandler(Function<Configuration,Object> annotatedQueryHandlerBuilder)
Registers a query handler bean with this configuration.
|
Configurer |
Configurer.registerQueryHandler(int phase,
Function<Configuration,Object> annotatedQueryHandlerBuilder)
Registers a query handler bean with this configuration.
|
Configurer |
DefaultConfigurer.registerQueryHandler(int phase,
Function<Configuration,Object> annotatedQueryHandlerBuilder) |
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) . |
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–2019. All rights reserved.