| com.atlassian.event.spi.ListenerInvoker |
Implementation of this interface know how to invoke 'given types' of listeners so that they handle given events.
Note: Implementations MUST provide correct implementations of the #equals(Object) and #hashCode() method.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
The types of events supported by this invoker.
| |||||||||||
Invokes the underlying listener for the given event.
| |||||||||||
Whether or not the underlying listener can handle asynchronous event.
| |||||||||||
The types of events supported by this invoker. I.e. invoke(Object) can be safely called with any object
that is an instance of at least one of those types.
Invokes the underlying listener for the given event.
| event | the event to tell the listener about. |
|---|
| IllegalArgumentException | if the event is not an instance of any of the types returned by
getSupportedEventTypes()
|
|---|
Whether or not the underlying listener can handle asynchronous event.
true if the underlying listener can handle asynchronous events, false otherwise