Uses of Interface
org.axonframework.messaging.core.MessageHandlerInterceptor
Packages that use MessageHandlerInterceptor
Package
Description
Part of the Axon Extension module.
Part of the Axon Extension module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
-
Uses of MessageHandlerInterceptor in org.axonframework.extension.spring.authorization
Classes in org.axonframework.extension.spring.authorization that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassMessageAuthorizationHandlerInterceptor<M extends Message>AMessageHandlerInterceptorthat verifies authorization based onSecuredannotations on the payload ofMessages. -
Uses of MessageHandlerInterceptor in org.axonframework.extension.springboot.autoconfig
Method parameters in org.axonframework.extension.springboot.autoconfig with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionInterceptorAutoConfiguration.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. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.commandhandling.interception
Classes in org.axonframework.messaging.commandhandling.interception that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassCommandSequencingInterceptor<M extends CommandMessage>AMessageHandlerInterceptorimplementation to sequence command execution.Constructor parameters in org.axonframework.messaging.commandhandling.interception with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionCommandMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super CommandMessage>> interceptors, CommandHandler commandHandler) Constructs a newCommandMessageHandlerInterceptorChainwith a list ofinterceptorsand ancommandHandler.InterceptingCommandBus(CommandBus delegate, List<MessageHandlerInterceptor<? super CommandMessage>> handlerInterceptors, List<MessageDispatchInterceptor<? super CommandMessage>> dispatchInterceptors) Constructs aInterceptingCommandBus, delegating dispatching and handling logic to the givendelegate. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.core.configuration
Method parameters in org.axonframework.messaging.core.configuration with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionMessagingConfigurer.registerCommandHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super CommandMessage>> interceptorBuilder) MessagingConfigurer.registerEventHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) MessagingConfigurer.registerMessageHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<Message>> interceptorBuilder) MessagingConfigurer.registerQueryHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super QueryMessage>> interceptorBuilder) -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.core.interception
Classes in org.axonframework.messaging.core.interception that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassBeanValidationInterceptor<M extends Message>Interceptor that applies JSR303 bean validation on incomingMessages.classCorrelationDataInterceptor<M extends Message>AMessageDispatchInterceptorandMessageHandlerInterceptorimplementation usingCorrelationDataProvidersto collect and set a collection of correlation data.classLoggingInterceptor<M extends Message>AMessageDispatchInterceptorandMessageHandlerInterceptorimplementation that logs dispatched and incoming messages, and their result, to aLogger.Methods in org.axonframework.messaging.core.interception that return MessageHandlerInterceptorModifier and TypeMethodDescription@Nullable MessageHandlerInterceptor<? super M> HandlerInterceptorFactory.build(@NonNull Configuration config, @NonNull Class<?> componentType, @Nullable String componentName) Builds aMessageHandlerInterceptorfor the specified component.Methods in org.axonframework.messaging.core.interception that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super CommandMessage>> DefaultHandlerInterceptorRegistry.commandInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageHandlerInterceptor<? super CommandMessage>> HandlerInterceptorRegistry.commandInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofCommandMessage-specificMessageHandlerInterceptorsregistered in this registry for acomponentTypeandcomponentName.List<MessageHandlerInterceptor<? super EventMessage>> DefaultHandlerInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageHandlerInterceptor<? super EventMessage>> HandlerInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofEventMessage-specificMessageHandlerInterceptorsregistered in this registry for acomponentTypeandcomponentName.List<MessageHandlerInterceptor<? super QueryMessage>> DefaultHandlerInterceptorRegistry.queryInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageHandlerInterceptor<? super QueryMessage>> HandlerInterceptorRegistry.queryInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofQueryMessage-specificMessageHandlerInterceptorsregistered in this registry for acomponentTypeandcomponentName.Method parameters in org.axonframework.messaging.core.interception with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionDefaultHandlerInterceptorRegistry.registerCommandInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super CommandMessage>> interceptorBuilder) HandlerInterceptorRegistry.registerCommandInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super CommandMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor aCommandMessageMessageHandlerInterceptorfor all command handling infrastructure components.DefaultHandlerInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) HandlerInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor aEventMessageMessageHandlerInterceptorfor all event handling infrastructure components.DefaultHandlerInterceptorRegistry.registerInterceptor(ComponentBuilder<MessageHandlerInterceptor<Message>> interceptorBuilder) HandlerInterceptorRegistry.registerInterceptor(ComponentBuilder<MessageHandlerInterceptor<Message>> interceptorBuilder) Registers the giveninterceptorBuilderconstructing a genericMessageMessageHandlerInterceptorfor all handling infrastructure components.DefaultHandlerInterceptorRegistry.registerQueryInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super QueryMessage>> interceptorBuilder) HandlerInterceptorRegistry.registerQueryInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super QueryMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor aQueryMessageMessageHandlerInterceptorfor all query handling infrastructure components -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.core.timeout
Methods in org.axonframework.messaging.core.timeout that return MessageHandlerInterceptorModifier and TypeMethodDescriptionUnitOfWorkTimeoutInterceptorBuilder.buildCommandInterceptor()Constructs aCommandMessagehandler interceptor, to be registered on (e.g.) theCommandBus.UnitOfWorkTimeoutInterceptorBuilder.buildEventInterceptor()Constructs aEventMessagehandler interceptor, to be registered on (e.g.) theEventProcessorConfiguration.UnitOfWorkTimeoutInterceptorBuilder.buildQueryInterceptor()Constructs aQueryMessagehandler interceptor, to be registered on (e.g.) theQueryBus. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.configuration
Fields in org.axonframework.messaging.eventhandling.configuration with type parameters of type MessageHandlerInterceptorModifier and TypeFieldDescriptionprotected BiFunction<Class<? extends EventProcessor>, String, List<MessageHandlerInterceptor<? super EventMessage>>> EventProcessorConfiguration.interceptorBuilderprotected List<MessageHandlerInterceptor<? super EventMessage>> EventProcessorConfiguration.interceptors -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.interception
Constructor parameters in org.axonframework.messaging.eventhandling.interception with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionEventMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super EventMessage>> interceptors, EventHandler eventHandler) Constructs a newEventMessageHandlerInterceptorChainwith a list ofinterceptionand aneventHandler.InterceptingEventHandlingComponent(List<MessageHandlerInterceptor<? super EventMessage>> interceptors, EventHandlingComponent delegate) Constructs the component with the given delegate and interceptors. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.processing.streaming.pooled
Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super EventMessage>> PooledStreamingEventProcessorConfiguration.interceptors()Returns the list ofEventMessage-specificMessageHandlerInterceptorsto add to thePooledStreamingEventProcessorunder construction with this configuration implementation.Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionPooledStreamingEventProcessorConfiguration.withInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the givenEventMessage-specificMessageHandlerInterceptorfor thePooledStreamingEventProcessorunder construction. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.processing.subscribing
Methods in org.axonframework.messaging.eventhandling.processing.subscribing that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super EventMessage>> SubscribingEventProcessorConfiguration.interceptors()Returns the list ofEventMessage-specificMessageHandlerInterceptorsto add to theSubscribingEventProcessorunder construction with this configuration implementation.Methods in org.axonframework.messaging.eventhandling.processing.subscribing with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionSubscribingEventProcessorConfiguration.withInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the givenEventMessage-specificMessageHandlerInterceptorfor theSubscribingEventProcessorunder construction. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.monitoring.interception
Classes in org.axonframework.messaging.monitoring.interception that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassAMessageHandlerInterceptorforCommandMessagethat intercepts theMessageHandlerInterceptorChainto register theMessageMonitor.MonitorCallbackfunctions on theProcessingContexthooks.classAMessageDispatchInterceptorthat intercepts aMessageDispatchInterceptorChainofEventMessageand registers theMessageMonitor.MonitorCallbackhooks for reporting.classAMessageHandlerInterceptorforQueryMessagethat intercepts theMessageHandlerInterceptorChainto register theMessageMonitor.MonitorCallbackfunctions on theProcessingContexthooks. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.queryhandling.interception
Constructor parameters in org.axonframework.messaging.queryhandling.interception with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionInterceptingQueryBus(QueryBus delegate, List<MessageHandlerInterceptor<? super QueryMessage>> handlerInterceptors, List<MessageDispatchInterceptor<? super QueryMessage>> dispatchInterceptors, List<MessageDispatchInterceptor<? super SubscriptionQueryUpdateMessage>> updateDispatchInterceptors) Constructs aInterceptingQueryBus, delegating dispatching and handling logic to the givendelegate.QueryMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super QueryMessage>> interceptors, QueryHandler queryHandler) Constructs a newQueryMessageHandlerInterceptorChainwith a list ofinterceptionand anqueryHandler.