Package | Description |
---|---|
info.magnolia.event | |
info.magnolia.module |
Modifier and Type | Interface and Description |
---|---|
interface |
Event<H extends EventHandler>
Marker interface for events used in the
EventBus . |
class |
EventHandlerCollection<H extends EventHandler>
Simple thread safe collection of handlers for a specific event.
|
Modifier and Type | Method and Description |
---|---|
<H extends EventHandler> |
SimpleEventBus.addHandler(Class<? extends Event<H>> eventClass,
H handler) |
<H extends EventHandler> |
ResettableEventBus.addHandler(Class<? extends Event<H>> eventClass,
H handler) |
<H extends EventHandler> |
EventBus.addHandler(Class<? extends Event<H>> eventClass,
H handler) |
<H extends EventHandler> |
SimpleEventBus.fireEvent(Event<H> event) |
<H extends EventHandler> |
ResettableEventBus.fireEvent(Event<H> event) |
<H extends EventHandler> |
EventBus.fireEvent(Event<H> event)
Fires the event on the bus (synchronously).
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ModulesStartedEvent.Handler
Event handler for
ModulesStartedEvent . |
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.