public class

AnnotationListenerMethodSelector

extends Object
implements ListenerMethodSelector
java.lang.Object
   ↳ com.atlassian.plugin.event.impl.AnnotationListenerMethodSelector

Class Overview

Listener method selector that looks for a specific marker annotation

Summary

Public Constructors
AnnotationListenerMethodSelector()
AnnotationListenerMethodSelector(Class<? extends Annotation> markerAnnotation)
Public Methods
boolean isListenerMethod(Method method)
Determines if the method is a listener method
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.event.impl.ListenerMethodSelector

Public Constructors

public AnnotationListenerMethodSelector ()

public AnnotationListenerMethodSelector (Class<? extends Annotation> markerAnnotation)

Public Methods

public boolean isListenerMethod (Method method)

Determines if the method is a listener method

Parameters
method The possible listener method. Cannot be null.
Returns
  • True if this is a listener method