public interface EventListenerRegistrar
| Modifier and Type | Method and Description |
|---|---|
void |
register(Object listener)
Register a listener to receive events.
|
void |
unregister(Object listener)
Un-register a listener so that it will no longer receive events.
|
void |
unregisterAll()
Un-register all listeners that this registrar knows about.
|
void register(Object listener)
EventListener annotation. Legacy
implementations may also support listeners which implement the now-deprecated
EventListener interface.listener - The listener that is being registeredNullPointerException - if the listener is nullIllegalArgumentException - if the parameter is not found to be an actual listenerannotation which can be used to indicate event listener methodsvoid unregister(Object listener)
listener - The listener to un-registerNullPointerException - if the listener is nullvoid unregisterAll()
Copyright © 2006-2018 Atlassian. All Rights Reserved.