Class NoMoreInterceptors<T>
java.lang.Object
org.axonframework.messaging.core.interception.annotation.NoMoreInterceptors<T>
- Type Parameters:
T- the type of the handlers
- All Implemented Interfaces:
MessageHandlerInterceptorMemberChain<T>
public class NoMoreInterceptors<T>
extends Object
implements MessageHandlerInterceptorMemberChain<T>
This will implement
MessageHandlerInterceptorMemberChain with no more interceptors. It can be used a default
interceptor, for example in the AnnotatedHandlerInspector.- Since:
- 4.8.0
- Author:
- Gerard Klijs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle(Message message, ProcessingContext context, T target, MessageHandlingMember<? super T> handler) static <T> MessageHandlerInterceptorMemberChain<T> instance()Creates and returns a new instance
-
Constructor Details
-
NoMoreInterceptors
public NoMoreInterceptors()
-
-
Method Details
-
instance
Creates and returns a new instance- Type Parameters:
T- the type of the handlers- Returns:
- a new
NoMoreInterceptorsinstance
-
handle
public MessageStream<?> handle(Message message, ProcessingContext context, T target, MessageHandlingMember<? super T> handler) - Specified by:
handlein interfaceMessageHandlerInterceptorMemberChain<T>
-