public final class

AnnotatedMethodsListenerHandler

extends Object
implements ListenerHandler
java.lang.Object
   ↳ com.atlassian.event.internal.AnnotatedMethodsListenerHandler

Class Overview

A listener handler that will check for single parameter methods annotated with the given annotation.

The default annotation for methods is EventListener.

See Also

Summary

Public Constructors
AnnotatedMethodsListenerHandler()
AnnotatedMethodsListenerHandler(Class annotation)
Public Methods
List<? extends ListenerInvoker> getInvokers(Object listener)
Retrieves the list of invokers for the given listener.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.event.spi.ListenerHandler

Public Constructors

public AnnotatedMethodsListenerHandler ()

public AnnotatedMethodsListenerHandler (Class annotation)

Public Methods

public List<? extends ListenerInvoker> getInvokers (Object listener)

Retrieves the list of invokers for the given listener.

Parameters
listener the listener object to get invokers for
Returns
  • a list of invokers linked to the listener object.