T- The type that declares the handlers in this chain
public interface MessageHandlerInterceptorMemberChain<T>
|Modifier and Type||Method and Description|
Handle the given
Object handle(@Nonnull Message<?> message, @Nonnull T target, @Nonnull MessageHandlingMember<? super T> handler) throws Exception
messageby passing it through the interceptors and ultimately to the given
handleron the given
targetinstance. 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 chain
target- The target instance to invoke the interceptors and handlers on
handler- The actual handler to invoke once all interceptors have received the message
Exception- any exception thrown by the handler or any of the interceptors
Copyright © 2010–2023. All rights reserved.