Uses of Interface
org.axonframework.common.configuration.Configuration
Packages that use Configuration
Package
Description
Classes related to message processing in Axon Framework.
-
Uses of Configuration in org.axonframework.axonserver.connector.event
Methods in org.axonframework.axonserver.connector.event with parameters of type ConfigurationModifier and TypeMethodDescriptionAxonServerEventStorageEngineFactory.construct(String name, Configuration config) static AxonServerEventStorageEngineAxonServerEventStorageEngineFactory.constructForContext(String context, Configuration config) Constructs anAxonServerEventStorageEnginefor the givencontext, retrieving aAxonServerConnectionManagerandEventConverterfrom the givenconfig.Constructors in org.axonframework.axonserver.connector.event with parameters of type ConfigurationModifierConstructorDescriptionEventProcessorControlService(Configuration configuration, AxonServerConnectionManager connectionManager, String context, Map<String, AxonServerConfiguration.Eventhandling.ProcessorSettings> processorConfig) Initialize anEventProcessorControlService. -
Uses of Configuration in org.axonframework.common.configuration
Subinterfaces of Configuration in org.axonframework.common.configurationModifier and TypeInterfaceDescriptioninterfaceThe configuration of any Axon Framework application.Methods in org.axonframework.common.configuration that return ConfigurationModifier and TypeMethodDescriptionBaseModule.build(Configuration parent, LifecycleRegistry lifecycleRegistry) DefaultComponentRegistry.build(LifecycleRegistry lifecycleRegistry) Builds theConfigurationfrom thisComponentRegistryas a root configuration.static ConfigurationHierarchicalConfiguration.build(LifecycleRegistry parentLifecycleRegistry, Function<LifecycleRegistry, Configuration> childConfigurationBuilder) Builds aConfigurationbased on the passedchildConfigurationBuilder.Module.build(Configuration parent, LifecycleRegistry lifecycleRegistry) Buildsthis Module, resulting in theConfigurationcontaining all registered components.DefaultComponentRegistry.buildNested(Configuration parent, LifecycleRegistry lifecycleRegistry) Builds theConfigurationfrom thisComponentRegistryas a nested configuration under the givenparent.Configuration.getParent()Returns the parent configuration of this configuration, if the parent configuration exists.protected ConfigurationBaseModule.postProcessConfiguration(Configuration moduleConfiguration) Method that can be overridden to specify specific actions that need to be taken after the configuration for this module is constructed.Methods in org.axonframework.common.configuration that return types with arguments of type ConfigurationModifier and TypeMethodDescriptionConfiguration.getModuleConfiguration(String name) Configuration.getModuleConfigurations()Methods in org.axonframework.common.configuration with parameters of type ConfigurationModifier and TypeMethodDescriptionBaseModule.build(Configuration parent, LifecycleRegistry lifecycleRegistry) ComponentBuilder.build(Configuration config) Builds a component of typeCusing the givenconfigduring construction.Module.build(Configuration parent, LifecycleRegistry lifecycleRegistry) Buildsthis Module, resulting in theConfigurationcontaining all registered components.DefaultComponentRegistry.buildNested(Configuration parent, LifecycleRegistry lifecycleRegistry) Builds theConfigurationfrom thisComponentRegistryas a nested configuration under the givenparent.ComponentFactory.construct(String name, Configuration config) Constructs aComponentcontaining an implementation of the generic typeC.ComponentDecorator.decorate(Configuration config, String name, C delegate) Decorates the givendelegateinto a mutated or replaced instance of typeD, which must be the same or a subclass ofC.InstantiatedComponentDefinition.doResolve(Configuration configuration) LazyInitializedComponentDefinition.doResolve(Configuration configuration) voidAbstractComponent.initLifecycle(Configuration configuration, LifecycleRegistry lifecycleRegistry) voidComponent.initLifecycle(Configuration configuration, LifecycleRegistry lifecycleRegistry) Initializes the lifecycle handlers associated with this component.protected ConfigurationBaseModule.postProcessConfiguration(Configuration moduleConfiguration) Method that can be overridden to specify specific actions that need to be taken after the configuration for this module is constructed.AbstractComponent.resolve(Configuration configuration) Component.resolve(Configuration configuration) Resolves the instance of this component, allowing it to retrieve any of its required dependencies from the givenconfiguration.ComponentLifecycleHandler.run(Configuration configuration, C component) Runs the lifecycle handler for givencomponentthat has been defined within the scope of givenconfiguration.LifecycleHandler.run(Configuration configuration) Run the start-up or shutdown process thisLifecycleHandlerrepresents.Method parameters in org.axonframework.common.configuration with type arguments of type ConfigurationModifier and TypeMethodDescriptionstatic ConfigurationHierarchicalConfiguration.build(LifecycleRegistry parentLifecycleRegistry, Function<LifecycleRegistry, Configuration> childConfigurationBuilder) Builds aConfigurationbased on the passedchildConfigurationBuilder.default ComponentDefinition<C> ComponentDefinition.onShutdown(int phase, BiConsumer<Configuration, C> handler) Registers the givenhandlerto be invoked during the shutdown lifecycle of the application in the givenphase.default LifecycleRegistryLifecycleRegistry.onShutdown(int phase, Consumer<Configuration> shutdownHandler) Registers ashutdownHandlerto be executed in the givenphasewhen the configuration this registry belongs to is shut down.default ComponentDefinition<C> ComponentDefinition.onStart(int phase, BiConsumer<Configuration, C> handler) Registers the givenhandlerto be invoked during the startup lifecycle of the application in the givenphase.default LifecycleRegistryLifecycleRegistry.onStart(int phase, Consumer<Configuration> startHandler) Registers astartHandlerto be executed in the givenphasewhen the configuration this registry belongs to is started. -
Uses of Configuration in org.axonframework.eventsourcing.annotation
Methods in org.axonframework.eventsourcing.annotation with parameters of type ConfigurationModifier and TypeMethodDescription<E,ID> CriteriaResolver <ID> AnnotationBasedEventCriteriaResolverDefinition.createEventCriteriaResolver(Class<E> entityType, Class<ID> idType, Configuration configuration) <E,I> CriteriaResolver <I> CriteriaResolverDefinition.createEventCriteriaResolver(Class<E> entityType, Class<I> idType, Configuration configuration) EventSourcedEntityFactoryDefinition.createFactory(Class<E> entityType, Set<Class<? extends E>> entitySubTypes, Class<ID> idType, Configuration configuration) Constructors in org.axonframework.eventsourcing.annotation with parameters of type ConfigurationModifierConstructorDescriptionAnnotationBasedEventCriteriaResolver(Class<E> entityType, Class<ID> idType, Configuration configuration) Initialize the resolver for the givenentityType. -
Uses of Configuration in org.axonframework.eventsourcing.annotation.reflection
Methods in org.axonframework.eventsourcing.annotation.reflection with parameters of type ConfigurationModifier and TypeMethodDescriptionAnnotationBasedEventSourcedEntityFactoryDefinition.createFactory(Class<Object> entityType, Set<Class<? extends Object>> entitySubTypes, Class<Object> idType, Configuration configuration) -
Uses of Configuration in org.axonframework.extension.spring.config
Methods in org.axonframework.extension.spring.config that return ConfigurationModifier and TypeMethodDescriptionSpringComponentRegistry.configuration()Accessor method for theSpringAxonApplicationto access this registry'sConfiguration.Constructors in org.axonframework.extension.spring.config with parameters of type ConfigurationModifierConstructorDescriptionDefaultProcessorModuleFactory(List<ProcessorDefinition> processorDefinitions, Map<String, EventProcessorSettings> settings, Configuration axonConfiguration) Creates a new factory with the given processor definitions, settings, and Axon configuration. -
Uses of Configuration in org.axonframework.messaging.core
Constructors in org.axonframework.messaging.core with parameters of type ConfigurationModifierConstructorDescriptionConfigurationApplicationContext(Configuration configuration) Creates a newConfigurationApplicationContextthat retrieves components from the givenconfiguration. -
Uses of Configuration in org.axonframework.messaging.core.configuration.reflection
Method parameters in org.axonframework.messaging.core.configuration.reflection with type arguments of type ConfigurationModifier and TypeMethodDescriptionstatic voidParameterResolverFactoryUtils.registerToComponentRegistry(ComponentRegistry componentRegistry, int order, Function<Configuration, ParameterResolverFactory> factory) Register aParameterResolverFactoryto thecurrentComponentRegistryusing the givenfactoryfunction.static voidParameterResolverFactoryUtils.registerToComponentRegistry(ComponentRegistry componentRegistry, Function<Configuration, ParameterResolverFactory> factory) Register aParameterResolverFactoryto thecurrentComponentRegistryusing the givenfactoryfunction.Constructors in org.axonframework.messaging.core.configuration.reflection with parameters of type ConfigurationModifierConstructorDescriptionConfigurationParameterResolverFactory(Configuration configuration) Initialize an instance using givenconfigurationto supply the value to resolve parameters with. -
Uses of Configuration in org.axonframework.messaging.core.correlation
Methods in org.axonframework.messaging.core.correlation with parameters of type ConfigurationModifier and TypeMethodDescriptionCorrelationDataProviderRegistry.correlationDataProviders(Configuration config) Returns the list ofCorrelationDataProvidersregistered in this registry.DefaultCorrelationDataProviderRegistry.correlationDataProviders(Configuration config) -
Uses of Configuration in org.axonframework.messaging.core.interception
Methods in org.axonframework.messaging.core.interception with parameters of type ConfigurationModifier and TypeMethodDescriptionList<MessageDispatchInterceptor<? super CommandMessage>> DefaultDispatchInterceptorRegistry.commandInterceptors(Configuration config) List<MessageHandlerInterceptor<? super CommandMessage>> DefaultHandlerInterceptorRegistry.commandInterceptors(Configuration config) List<MessageDispatchInterceptor<? super CommandMessage>> DispatchInterceptorRegistry.commandInterceptors(Configuration config) Returns the list ofMessageDispatchInterceptorsregistered in this registry.List<MessageHandlerInterceptor<? super CommandMessage>> HandlerInterceptorRegistry.commandInterceptors(Configuration config) Returns the list ofCommandMessage-specificMessageHandlerInterceptorsregistered in this registry.List<MessageDispatchInterceptor<? super EventMessage>> DefaultDispatchInterceptorRegistry.eventInterceptors(Configuration config) List<MessageHandlerInterceptor<? super EventMessage>> DefaultHandlerInterceptorRegistry.eventInterceptors(Configuration config) List<MessageDispatchInterceptor<? super EventMessage>> DispatchInterceptorRegistry.eventInterceptors(Configuration config) Returns the list ofEventMessage-specificMessageDispatchInterceptorsregistered in this registry.List<MessageHandlerInterceptor<? super EventMessage>> HandlerInterceptorRegistry.eventInterceptors(Configuration config) Returns the list ofEventMessage-specificMessageHandlerInterceptorsregistered in this registry.List<MessageDispatchInterceptor<? super QueryMessage>> DefaultDispatchInterceptorRegistry.queryInterceptors(Configuration config) List<MessageHandlerInterceptor<? super QueryMessage>> DefaultHandlerInterceptorRegistry.queryInterceptors(Configuration config) List<MessageDispatchInterceptor<? super QueryMessage>> DispatchInterceptorRegistry.queryInterceptors(Configuration config) Returns the list ofQueryMessage-specificMessageDispatchInterceptorsregistered in this registry.List<MessageHandlerInterceptor<? super QueryMessage>> HandlerInterceptorRegistry.queryInterceptors(Configuration config) Returns the list ofQueryMessage-specificMessageHandlerInterceptorsregistered in this registry.DefaultDispatchInterceptorRegistry.subscriptionQueryUpdateInterceptors(Configuration config) DispatchInterceptorRegistry.subscriptionQueryUpdateInterceptors(Configuration config) Returns the list ofSubscriptionQueryUpdateMessage-specificMessageDispatchInterceptorsregistered in this registry. -
Uses of Configuration in org.axonframework.messaging.eventhandling.configuration
Methods in org.axonframework.messaging.eventhandling.configuration with parameters of type ConfigurationModifier and TypeMethodDescriptiondefault List<EventHandlingComponent> EventHandlingComponentsConfigurer.CompletePhase.build(Configuration configuration) Builds all configured components using the provided configuration.SubscribableEventSourceDefinition.create(Configuration configuration) Creates aSubscribableEventSourcebased on this definition and the provided configuration.Method parameters in org.axonframework.messaging.eventhandling.configuration with type arguments of type ConfigurationModifier and TypeMethodDescriptionEventProcessorModule.CustomizationPhase.customized(BiFunction<Configuration, C, C> instanceCustomization) Customizes the processor configuration by applying modifications to the default configuration.DefaultEventHandlingComponentsConfigurer.decorated(BiFunction<Configuration, EventHandlingComponent, EventHandlingComponent> decorator) EventHandlingComponentsConfigurer.CompletePhase.decorated(BiFunction<Configuration, EventHandlingComponent, EventHandlingComponent> decorator) Applies a decorator to all components in the collection.EventProcessingConfigurer.defaults(BiFunction<Configuration, EventProcessorConfiguration, EventProcessorConfiguration> configureDefaults) Configures default settings that will be applied to all event processors managed by this module.Constructors in org.axonframework.messaging.eventhandling.configuration with parameters of type ConfigurationModifierConstructorDescriptionEventProcessorConfiguration(Configuration configuration) Constructs a newEventProcessorConfigurationwith default values and retrieve global default values. -
Uses of Configuration in org.axonframework.messaging.eventhandling.processing.streaming.pooled
Method parameters in org.axonframework.messaging.eventhandling.processing.streaming.pooled with type arguments of type ConfigurationModifier and TypeMethodDescriptionPooledStreamingEventProcessorModule.customized(BiFunction<Configuration, PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> instanceCustomization) PooledStreamingEventProcessorsConfigurer.defaults(BiFunction<Configuration, PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> configureDefaults) Configures default settings that will be applied to allPooledStreamingEventProcessorinstances managed by this configurer.Constructors in org.axonframework.messaging.eventhandling.processing.streaming.pooled with parameters of type ConfigurationModifierConstructorDescriptionPooledStreamingEventProcessorConfiguration(EventProcessorConfiguration base, Configuration configuration) Constructs a newPooledStreamingEventProcessorConfigurationwith default values and retrieve global default values. -
Uses of Configuration in org.axonframework.messaging.eventhandling.processing.subscribing
Method parameters in org.axonframework.messaging.eventhandling.processing.subscribing with type arguments of type ConfigurationModifier and TypeMethodDescriptionSubscribingEventProcessorModule.customized(BiFunction<Configuration, SubscribingEventProcessorConfiguration, SubscribingEventProcessorConfiguration> instanceCustomization) SubscribingEventProcessorsConfigurer.defaults(BiFunction<Configuration, SubscribingEventProcessorConfiguration, SubscribingEventProcessorConfiguration> configureDefaults) Configures default settings that will be applied to allSubscribingEventProcessorinstances managed by this configurer.Constructors in org.axonframework.messaging.eventhandling.processing.subscribing with parameters of type ConfigurationModifierConstructorDescriptionSubscribingEventProcessorConfiguration(EventProcessorConfiguration base, Configuration configuration) Constructs a newSubscribingEventProcessorConfigurationwith default values and retrieve global default values. -
Uses of Configuration in org.axonframework.messaging.monitoring.configuration
Methods in org.axonframework.messaging.monitoring.configuration with parameters of type ConfigurationModifier and TypeMethodDescriptionMessageMonitor<? super CommandMessage> DefaultMessageMonitorRegistry.commandMonitor(Configuration config) MessageMonitor<? super CommandMessage> MessageMonitorRegistry.commandMonitor(Configuration config) Retrieves aMessageMonitordedicated for monitoringCommandMessageprocessing.MessageMonitor<? super EventMessage> DefaultMessageMonitorRegistry.eventMonitor(Configuration config) MessageMonitor<? super EventMessage> MessageMonitorRegistry.eventMonitor(Configuration config) Retrieves aMessageMonitorspecifically designed to monitor the processing ofEventMessageinstances.MessageMonitor<? super QueryMessage> DefaultMessageMonitorRegistry.queryMonitor(Configuration config) MessageMonitor<? super QueryMessage> MessageMonitorRegistry.queryMonitor(Configuration config) Retrieves aMessageMonitorfor monitoring the processing ofQueryMessageinstances.DefaultMessageMonitorRegistry.subscriptionQueryUpdateMonitor(Configuration config) MessageMonitorRegistry.subscriptionQueryUpdateMonitor(Configuration config) Retrieves aMessageMonitorfor monitoring the processing ofSubscriptionQueryUpdateMessageinstances. -
Uses of Configuration in org.axonframework.modelling.annotation
Methods in org.axonframework.modelling.annotation with parameters of type ConfigurationModifier and TypeMethodDescription<E,ID> EntityIdResolver <ID> AnnotationBasedEntityIdResolverDefinition.createIdResolver(Class<E> entityType, Class<ID> idType, AnnotatedEntityMetamodel<E> entityMetamodel, Configuration configuration) <E,ID> EntityIdResolver <ID> EntityIdResolverDefinition.createIdResolver(Class<E> entityType, Class<ID> idType, AnnotatedEntityMetamodel<E> entityMetamodel, Configuration configuration) Creates anEntityIdResolverfor the given entity type and identifier type.Constructors in org.axonframework.modelling.annotation with parameters of type ConfigurationModifierConstructorDescriptionInjectEntityParameterResolverFactory(Configuration configuration) Initialize the factory with the givenconfiguration. -
Uses of Configuration in org.axonframework.modelling.configuration
Methods in org.axonframework.modelling.configuration with parameters of type ConfigurationModifier and TypeMethodDescriptionEntityMetamodelConfigurationBuilder.build(Configuration configuration, EntityMetamodelBuilder<E> builder) Builds anEntityMetamodelfor the given entity type, using the providedConfigurationandEntityMetamodelBuilder. -
Uses of Configuration in org.axonframework.modelling.entity.annotation
Methods in org.axonframework.modelling.entity.annotation with parameters of type ConfigurationModifier and TypeMethodDescription<E,ID> EntityIdResolver <ID> AnnotatedEntityIdResolverDefinition.createIdResolver(Class<E> entityType, Class<ID> idType, AnnotatedEntityMetamodel<E> entityMetamodel, Configuration configuration) -
Uses of Configuration in org.axonframework.test.fixture
Method parameters in org.axonframework.test.fixture with type arguments of type ConfigurationModifier and TypeMethodDescriptiondefault AxonTestPhase.GivenAxonTestPhase.Given.execute(Consumer<Configuration> consumer) Allows running custom setup steps (other than executing messages) on any component retrievable from theConfiguration.AxonTestPhase.Given.executeAsync(Function<Configuration, CompletableFuture<?>> function) Allows running custom setup steps (other than executing messages) on any component retrievable from theConfiguration.AxonTestPhase.Then.MessageAssertions.expect(Consumer<Configuration> function) Allows running assertions on any component retrievable from theConfiguration.AxonTestPhase.Then.MessageAssertions.expectAsync(Function<Configuration, CompletableFuture<?>> function) Allows running assertions on any component retrievable from theConfiguration.