public class EndSagaMessageHandlerDefinition extends Object implements HandlerEnhancerDefinition
HandlerEnhancerDefinition
inspecting the existence of the EndSaga
annotation on MessageHandlingMember
s. If present, the given MessageHandlingMember
will be wrapped in a EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember
.Modifier and Type | Class and Description |
---|---|
static class |
EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember<T>
A
WrappedMessageHandlingMember implementation dedicated towards MessageHandlingMember s annotated
with EndSaga . |
Constructor and Description |
---|
EndSagaMessageHandlerDefinition() |
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.