public class ApplicationEventDispatcher extends Object implements EventDispatcher
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Listener l) |
static ApplicationEventDispatcher |
getApplicationEventDispatcher() |
void |
processEvent(Event event) |
void |
removeAllListenersForEventContext(EventContext context) |
void |
removeListener(Listener l) |
public void addListener(Listener l)
addListener in interface EventDispatcherl - public static ApplicationEventDispatcher getApplicationEventDispatcher()
public void processEvent(Event event)
processEvent in interface EventDispatcherevent - public void removeAllListenersForEventContext(EventContext context)
removeAllListenersForEventContext in interface EventDispatchercontext - does nothing if null (i.e., does not remove listeners with null context)public void removeListener(Listener l)
removeListener in interface EventDispatcherl -