public class MethodCreationPolicyDefinition extends Object implements HandlerEnhancerDefinition
HandlerEnhancerDefinition used for CreationPolicy annotated methods.| Constructor and Description |
|---|
MethodCreationPolicyDefinition() |
| 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)
HandlerEnhancerDefinitionoriginal handler. Implementations may return the original message handler.wrapHandler in interface HandlerEnhancerDefinitionT - The type of object that will perform the actual handling of the messageoriginal - The original message handlerCopyright © 2010–2023. All rights reserved.