|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListenerFactory
This interface defines the methods needed to be an ListenerFactory. Note that a factory is responsible for ensuring threadsafety within the underlying listener, so the factory should either return a new instance of the listener OR keep one static synchronized instance and return that instead.
Method Summary | |
---|---|
BaseEventListener |
getInstance()
Get an instance of the underlying BaseEventListener |
String |
getListenerID()
Get the Listener ID associated with this class of listener. |
boolean |
notifyAlways()
Return true if you want to always be notified, even when an event has been handled by someone else. |
Method Detail |
---|
BaseEventListener getInstance()
boolean notifyAlways()
String getListenerID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |