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 |
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.
|
default Configurer |
Configurer.configureDeadlineManager(Function<Configuration,DeadlineManager> deadlineManagerBuilder)
Registers a
DeadlineManager instance with this Configurer . |
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.
|
Configurer |
DefaultConfigurer.configureLifecyclePhaseTimeout(long timeout,
TimeUnit timeUnit) |
default Configurer |
Configurer.configureLifecyclePhaseTimeout(long timeout,
TimeUnit timeUnit)
Configures the timeout of each lifecycle phase.
|
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.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.configureSnapshotter(Function<Configuration,Snapshotter> snapshotterBuilder)
Registers a
Snapshotter instance with this Configurer . |
default Configurer |
Configurer.configureSpanFactory(Function<Configuration,SpanFactory> spanFactory)
Registers a
SpanFactory instance with this Configurer . |
default Configurer |
Configurer.configureTags(Function<Configuration,TagsConfiguration> tagsBuilder)
Configures the given Tags Configuration 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 . |
Configurer |
DefaultConfigurer.registerCommandHandler(Function<Configuration,Object> commandHandlerBuilder) |
Configurer |
Configurer.registerCommandHandler(Function<Configuration,Object> commandHandlerBuilder)
Registers a command handler bean with this
Configurer . |
default Configurer |
Configurer.registerCommandHandler(int phase,
Function<Configuration,Object> commandHandlerBuilder)
Deprecated.
in favor of
registerCommandHandler(Function) , since the phase of an annotated
handler should be defined through the StartHandler /ShutdownHandler annotation. |
<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.
|
default Configurer |
Configurer.registerEventHandler(Function<Configuration,Object> eventHandlerBuilder)
Registers a
Function that builds an Event Handler instance. |
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.registerHandlerDefinition(BiFunction<Configuration,Class,HandlerDefinition> handlerDefinitionClass) |
Configurer |
Configurer.registerHandlerDefinition(BiFunction<Configuration,Class,HandlerDefinition> handlerDefinitionClass)
Registers the definition of a Handler class.
|
Configurer |
DefaultConfigurer.registerHandlerEnhancerDefinition(Function<Configuration,HandlerEnhancerDefinition> handlerEnhancerBuilder) |
Configurer |
Configurer.registerHandlerEnhancerDefinition(Function<Configuration,HandlerEnhancerDefinition> handlerEnhancerBuilder)
Registers a builder function for a
HandlerEnhancerDefinition used during constructing of the default
HandlerDefinition . |
Configurer |
DefaultConfigurer.registerMessageHandler(Function<Configuration,Object> messageHandlerBuilder) |
Configurer |
Configurer.registerMessageHandler(Function<Configuration,Object> messageHandlerBuilder)
Registers a message handler bean with this configuration.
|
Configurer |
DefaultConfigurer.registerModule(ModuleConfiguration module) |
Configurer |
Configurer.registerModule(ModuleConfiguration module)
Registers an Axon module with this configuration.
|
Configurer |
DefaultConfigurer.registerQueryHandler(Function<Configuration,Object> queryHandlerBuilder) |
Configurer |
Configurer.registerQueryHandler(Function<Configuration,Object> queryHandlerBuilder)
Registers a query handler bean with this
Configurer . |
default Configurer |
Configurer.registerQueryHandler(int phase,
Function<Configuration,Object> queryHandlerBuilder)
Deprecated.
in favor of
registerQueryHandler(Function) , since the phase of an annotated handler
should be defined through the StartHandler /ShutdownHandler annotation. |
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 configured
MetricRegistry 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 configured
MetricRegistry with the given configurer via configureMessageMonitor(Function) . |
Modifier and Type | Method and Description |
---|---|
Configurer |
GlobalMetricRegistry.registerWithConfigurer(Configurer configurer)
|
Configurer |
GlobalMetricRegistry.registerWithConfigurerWithDefaultTags(Configurer configurer)
|
Modifier and Type | Method and Description |
---|---|
void |
MetricsConfigurerModule.configureModule(Configurer configurer) |
Configurer |
GlobalMetricRegistry.registerWithConfigurer(Configurer configurer)
|
Configurer |
GlobalMetricRegistry.registerWithConfigurerWithDefaultTags(Configurer configurer)
|
Modifier and Type | Class and Description |
---|---|
class |
SpringConfigurer
A
Configurer implementation that considers the Spring Application context as a
source for components. |
Modifier and Type | Method and Description |
---|---|
Configurer |
ConfigurerFactoryBean.getObject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SpringSagaConfigurer.configureModule(Configurer configurer) |
void |
SpringAggregateConfigurer.configureModule(Configurer configurer) |
void |
MessageHandlerConfigurer.configureModule(Configurer configurer) |
Constructor and Description |
---|
AxonConfiguration(Configurer configurer)
Deprecated.
Initializes a new
AxonConfiguration that uses the given configurer to build the configuration. |
ConfigurerFactoryBean(Configurer configurer)
Deprecated.
Initialize the factory bean, using the given
configurer to make available in the Application Context,
once configured by the ConfigurerModules in that context. |
SpringAxonConfiguration(Configurer configurer)
Initialize this
Configuration instance. |
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.InitializingBean |
InfraConfiguration.lifecycleInitializer(Configurer configurer,
List<Lifecycle> lifecycleBeans) |
SpringAxonConfiguration |
InfraConfiguration.springAxonConfiguration(Configurer configurer) |
Modifier and Type | Method and Description |
---|---|
void |
DeadLetterQueueProviderConfigurerModule.configureModule(Configurer configurer) |
Copyright © 2010–2024. All rights reserved.