public class ApplicationEventDispatcher extends java.lang.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 EventDispatcher
l
- public static ApplicationEventDispatcher getApplicationEventDispatcher()
public void processEvent(Event event)
processEvent
in interface EventDispatcher
event
- public void removeAllListenersForEventContext(EventContext context)
removeAllListenersForEventContext
in interface EventDispatcher
context
- does nothing if null (i.e., does not remove listeners with null context)public void removeListener(Listener l)
removeListener
in interface EventDispatcher
l
-