public interface EventBus
Event
,
EventHandler
,
HandlerRegistration
Modifier and Type | Method and Description |
---|---|
<H extends EventHandler> |
addHandler(Class<? extends Event<H>> eventClass,
H handler) |
<H extends EventHandler> |
fireEvent(Event<H> event)
Fires the event on the bus (synchronously).
|
<H extends EventHandler> HandlerRegistration addHandler(Class<? extends Event<H>> eventClass, H handler)
<H extends EventHandler> void fireEvent(Event<H> event)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.