public abstract class DispatcherListener extends Object implements BeforeAppEvent.BeforeAppEventHandler, AfterAppEvent.AfterAppEventHandler
| Constructor and Description |
|---|
DispatcherListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDispatch(AfterAppEvent event)
Fires after an event has been dispatched.
|
void |
beforeDispatch(BeforeAppEvent event)
Fires before an event is dispatched.
|
public void afterDispatch(AfterAppEvent event)
afterDispatch in interface AfterAppEvent.AfterAppEventHandlerevent - an event containing the event that was dispatchedpublic void beforeDispatch(BeforeAppEvent event)
CancellableEvent.setCancelled(boolean).beforeDispatch in interface BeforeAppEvent.BeforeAppEventHandlerevent - an event containing the application event to be dispatchedCopyright © 2014. All Rights Reserved.