public class StandardEventBus extends Object implements IEventBus
IEventBus.| Constructor and Description |
|---|
StandardEventBus() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(Event event)
Called when an event occurs.
|
void |
register(INotificationSupport ns)
Any object wanting to propagate its own notifications via the
IEventBus can simply register himself. |
void |
subscribe(EventSourcePredicate predicate,
EventType type,
INotificationListener listener)
Indicate that listener should be informed whenever a notification of
EventType type isissued by a source accepted by predicate. |
void |
unregister(INotificationSupport ns)
Stop forwarding events from ns to the
IEventBus. |
public void handleEvent(Event event)
INotificationListenerhandleEvent in interface INotificationListenerevent - The event object giving detail information about the context.public void register(INotificationSupport ns)
IEventBuspublic void subscribe(EventSourcePredicate predicate, EventType type, INotificationListener listener)
IEventBusEventType type isissued by a source accepted by predicate.public void unregister(INotificationSupport ns)
IEventBusIEventBus.unregister in interface IEventBusCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.