org.axonframework.eventhandling.annotation
Class AnnotationEventHandlerInvoker
java.lang.Object
org.axonframework.eventhandling.annotation.AnnotationEventHandlerInvoker
public class AnnotationEventHandlerInvoker
- extends Object
Utility class that supports invocation of specific handler methods for a given event. See EventHandler for
the rules for resolving the appropriate method.
- Since:
- 0.1
- Author:
- Allard Buijze
- See Also:
EventHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationEventHandlerInvoker
public AnnotationEventHandlerInvoker(Object target)
- Initialize an event handler invoker that invokes handlers on the given
target.
- Parameters:
target - the bean on which to invoke event handlers
invokeEventHandlerMethod
public void invokeEventHandlerMethod(EventMessage event)
- Invoke the appropriate @EventHandler for the given
event
- Parameters:
event - The message transporting the event
Copyright © 2010-2012. All Rights Reserved.