T
- The type that declares the handlers in this chainpublic interface MessageHandlerInterceptorMemberChain<T>
Modifier and Type | Method and Description |
---|---|
Object |
handle(Message<?> message,
T target,
MessageHandlingMember<? super T> handler)
Handle the given
message by passing it through the interceptors and ultimately to the given
handler on the given target instance. |
Object handle(@Nonnull Message<?> message, @Nonnull T target, @Nonnull MessageHandlingMember<? super T> handler) throws Exception
message
by passing it through the interceptors and ultimately to the given
handler
on the given target
instance. The result of this invocation is the result as given by the
handler
, possibly modified by any of the interceptors in this chain.message
- The message to pass through the interceptor chaintarget
- The target instance to invoke the interceptors and handlers onhandler
- The actual handler to invoke once all interceptors have received the messageException
- any exception thrown by the handler or any of the interceptorsCopyright © 2010–2024. All rights reserved.