com.atlassian.event.spi
Interface ListenerHandler

All Known Implementing Classes:
AnnotatedMethodsListenerHandler, LegacyListenerHandler

public interface ListenerHandler

Interface to find invokers for a given listener objects. A typical example might be listeners that implement a specific interface or that have annotated listener methods.

Since:
2.0

Method Summary
 java.util.List<? extends ListenerInvoker> getInvokers(java.lang.Object listener)
          Retrieves the list of invokers for the given listener.
 

Method Detail

getInvokers

java.util.List<? extends ListenerInvoker> getInvokers(java.lang.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.


Copyright © 2006-2011 Atlassian. All Rights Reserved.