public class AnnotationEventHandlerInvoker extends Object
EventHandler
for
the rules for resolving the appropriate method.EventHandler
Constructor and Description |
---|
AnnotationEventHandlerInvoker(Object target)
Initialize an event handler invoker that invokes handlers on the given
target . |
Modifier and Type | Method and Description |
---|---|
void |
invokeEventHandlerMethod(EventMessage event)
Invoke the appropriate @EventHandler for the given
event |
public AnnotationEventHandlerInvoker(Object target)
target
.target
- the bean on which to invoke event handlerspublic void invokeEventHandlerMethod(EventMessage event)
event
event
- The message transporting the eventCopyright © 2010-2013. All Rights Reserved.