java.lang.Object | |
↳ | com.atlassian.plugin.event.impl.DefaultPluginEventManager |
Simple, synchronous event manager that uses one or more method selectors to determine event listeners. The default
method selectors are MethodNameListenerMethodSelector
and AnnotationListenerMethodSelector
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that looks for an arbitrary selectors
| |||||||||||
Default constructor that delegates all event publication to an
EventPublisher
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Broadcasts an event to all applicable listeners.
| |||||||||||
Registers a listener object
| |||||||||||
Unregisters a listener object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructor that looks for an arbitrary selectors
selectors | List of selectors that determine which are listener methods |
---|
Default constructor that delegates all event publication to an EventPublisher
Broadcasts an event to all applicable listeners.
event | The event object. Cannot be null. |
---|
NotificationException |
---|
Registers a listener object
listener | The listener instance. Cannot be null. |
---|
Unregisters a listener object
listener | The listener. Cannot be null. |
---|