Uses of Interface
org.axonframework.common.configuration.DecoratorDefinition
Packages that use DecoratorDefinition
Package
Description
-
Uses of DecoratorDefinition in org.axonframework.common.configuration
Subinterfaces of DecoratorDefinition in org.axonframework.common.configurationModifier and TypeInterfaceDescriptionstatic interfaceDecoratorDefinition.CompletedDecoratorDefinition<C,D extends C> Defines the behavior that all implementation ofDecoratorDefinitionmust provide.Methods in org.axonframework.common.configuration that return DecoratorDefinitionModifier and TypeMethodDescriptiondefault DecoratorDefinition<C, D> DecoratorDefinition.onShutdown(int phase, Consumer<D> handler) Registers the givenhandlerto be registered with the application's lifecycle during shutdown for this decorator.DecoratorDefinition.onShutdown(int phase, ComponentLifecycleHandler<D> handler) Registers the givenhandlerto be registered with the application's lifecycle during shutdown for this decorator.default DecoratorDefinition<C, D> Registers the givenhandlerto be registered with the application's lifecycle during startup for this decorator.DecoratorDefinition.onStart(int phase, ComponentLifecycleHandler<D> handler) Registers the givenhandlerto be registered with the application's lifecycle during startup for this decorator.DecoratorDefinition.order(int order) Sets theorderin which this decorator will be invoked on a component relative to other decorators.<D extends C>
DecoratorDefinition<C, D> DecoratorDefinition.PartialDecoratorDefinition.with(ComponentDecorator<C, D> decorator) Defines the decorator function to use to decorate target components.Methods in org.axonframework.common.configuration with parameters of type DecoratorDefinitionModifier and TypeMethodDescriptionComponentRegistry.registerDecorator(DecoratorDefinition<C, ? extends C> definition) Registers a decorator based on the givendefinition.DefaultComponentRegistry.registerDecorator(DecoratorDefinition<C, ? extends C> definition) -
Uses of DecoratorDefinition in org.axonframework.extension.spring.config
Methods in org.axonframework.extension.spring.config with parameters of type DecoratorDefinitionModifier and TypeMethodDescriptionSpringComponentRegistry.registerDecorator(DecoratorDefinition<C, ? extends C> definition) -
Uses of DecoratorDefinition in org.axonframework.extension.springboot.autoconfig
Methods in org.axonframework.extension.springboot.autoconfig that return DecoratorDefinitionModifier and TypeMethodDescriptionInterceptorAutoConfiguration.dispatchInterceptorEnhancer(Optional<List<MessageDispatchInterceptor<? super CommandMessage>>> commandInterceptors, Optional<List<MessageDispatchInterceptor<? super EventMessage>>> eventInterceptors, Optional<List<MessageDispatchInterceptor<? super QueryMessage>>> queryInterceptors) Bean creation method for aDecoratorDefinitionthat registersMessage-specificMessageDispatchInterceptorswith theDispatchInterceptorRegistry.InterceptorAutoConfiguration.handlerInterceptorEnhancer(Optional<List<MessageHandlerInterceptor<Message>>> interceptors, Optional<List<MessageHandlerInterceptor<CommandMessage>>> commandInterceptors, Optional<List<MessageHandlerInterceptor<EventMessage>>> eventInterceptors, Optional<List<MessageHandlerInterceptor<QueryMessage>>> queryInterceptors) Bean creation method for aDecoratorDefinitionthat registersMessage-specificMessageHandlerInterceptorswith theHandlerInterceptorRegistry.CorrelationDataProviderAutoConfiguration.providerDecorator(Optional<List<CorrelationDataProvider>> correlationDataProviders) Bean creation method for aDecoratorDefinitionthat registersCorrelationDataProviderswith theCorrelationDataProviderRegistry.