Class AnnotatedCommandHandlerInterceptor<T>
java.lang.Object
org.axonframework.modelling.command.inspection.AnnotatedCommandHandlerInterceptor<T>
- Type Parameters:
T- The type of entity to which the message handler will delegate the actual handling of the message
- All Implemented Interfaces:
org.axonframework.messaging.MessageHandlerInterceptor<org.axonframework.commandhandling.CommandMessage<?>>
public class AnnotatedCommandHandlerInterceptor<T>
extends Object
implements org.axonframework.messaging.MessageHandlerInterceptor<org.axonframework.commandhandling.CommandMessage<?>>
Annotated command handler interceptor on aggregate. Will invoke the delegate to the real interceptor method.
- Since:
- 3.3
- Author:
- Milan Savic
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedCommandHandlerInterceptor(org.axonframework.messaging.annotation.MessageHandlingMember<T> delegate, T target) Initializes annotated command handler interceptor with delegate handler and target on which handler is to be invoked. -
Method Summary
-
Constructor Details
-
AnnotatedCommandHandlerInterceptor
public AnnotatedCommandHandlerInterceptor(org.axonframework.messaging.annotation.MessageHandlingMember<T> delegate, T target) Initializes annotated command handler interceptor with delegate handler and target on which handler is to be invoked.- Parameters:
delegate- delegate command handler interceptortarget- on which command handler interceptor is to be invoked
-
-
Method Details
-
handle
-