com.atlassian.plugin.event.impl
Class AnnotationListenerMethodSelector
java.lang.Object
com.atlassian.plugin.event.impl.AnnotationListenerMethodSelector
- All Implemented Interfaces:
- ListenerMethodSelector
public class AnnotationListenerMethodSelector
- extends Object
- implements ListenerMethodSelector
Listener method selector that looks for a specific marker annotation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationListenerMethodSelector
public AnnotationListenerMethodSelector()
AnnotationListenerMethodSelector
public AnnotationListenerMethodSelector(Class<? extends Annotation> markerAnnotation)
isListenerMethod
public boolean isListenerMethod(Method method)
- Description copied from interface:
ListenerMethodSelector
- Determines if the method is a listener method
- Specified by:
isListenerMethod in interface ListenerMethodSelector
- Parameters:
method - The possible listener method. Cannot be null.
- Returns:
- True if this is a listener method
Copyright © 2013 Atlassian. All Rights Reserved.