public class MethodQueryMessageHandlerDefinition extends Object implements HandlerEnhancerDefinition
QueryMessage
s. These handlers are wrapped with a QueryHandlingMember
that exposes query-specific handler information.Constructor and Description |
---|
MethodQueryMessageHandlerDefinition() |
Modifier and Type | Method and Description |
---|---|
<T> MessageHandlingMember<T> |
wrapHandler(MessageHandlingMember<T> original)
Enhance the given
original handler. |
@Nonnull public <T> MessageHandlingMember<T> wrapHandler(@Nonnull MessageHandlingMember<T> original)
HandlerEnhancerDefinition
original
handler. Implementations may return the original message handler.wrapHandler
in interface HandlerEnhancerDefinition
T
- The type of object that will perform the actual handling of the messageoriginal
- The original message handlerCopyright © 2010–2024. All rights reserved.