public interface EventPublisher extends EventListenerRegistrar
annotation which can be used to indicate event listener methods| Modifier and Type | Method and Description |
|---|---|
void |
publish(Object event)
Publish an event that will be consumed by all listeners which have registered to receive it.
|
register, unregister, unregisterAllvoid publish(Object event)
EventListener and one argument which is assignable from the event type (i.e. a superclass
or interface implemented by the event object). Implementations may also dispatch events
to legacy EventListener implementations based on the types returned
from EventListener.getHandledEventClasses().
This method should process all event listeners, despite any errors or exceptions that are generated
as a result of dispatching the event.event - the event to publishNullPointerException - if the event is nullCopyright © 2006-2017 Atlassian. All Rights Reserved.