public final class AnnotatedMethodsListenerHandler extends Object implements ListenerHandler
A listener handler that will check for single parameter methods annotated with the given annotation.
The default annotation for methods is EventListener.
EventListener| Constructor and Description |
|---|
AnnotatedMethodsListenerHandler() |
AnnotatedMethodsListenerHandler(Class annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends ListenerInvoker> |
getInvokers(Object listener)
Retrieves the list of invokers for the given listener.
|
public AnnotatedMethodsListenerHandler()
public AnnotatedMethodsListenerHandler(Class annotationClass)
public List<? extends ListenerInvoker> getInvokers(Object listener)
ListenerHandlergetInvokers in interface ListenerHandlerlistener - the listener object to get invokers forCopyright © 2006-2017 Atlassian. All Rights Reserved.