public class SagaEventHandlerInvoker extends Object
| Constructor and Description |
|---|
SagaEventHandlerInvoker(Object target)
Initialize a handler invoker for the given
target object that has handler method annotated with
given annotationType. |
| Modifier and Type | Method and Description |
|---|---|
void |
invokeSagaEventHandlerMethod(EventMessage event)
Invoke the annotated Event Handler method for the given
event on the target Saga. |
boolean |
isEndingEvent(EventMessage event)
Indicates whether the handler of the target event indicates an ending event handler (i.e.
|
public SagaEventHandlerInvoker(Object target)
target object that has handler method annotated with
given annotationType.target - The target to invoke methods onpublic boolean isEndingEvent(EventMessage event)
EndSaga).event - The event to investigate the handler fortrue if handling the given event should end the lifecycle of the Saga,
false otherwise.public void invokeSagaEventHandlerMethod(EventMessage event)
event on the target Saga.event - The event to invoke the Event Handler forCopyright © 2010-2013. All Rights Reserved.