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> |
EventBus.addHandler(Class<? extends Event<H>> eventClass,
H handler) |
<H extends EventHandler> |
ResettableEventBus.addHandler(Class<? extends Event<H>> eventClass,
H handler) |
<H extends EventHandler> |
SimpleEventBus.addHandler(Class<? extends Event<H>> eventClass,
H handler) |
<H extends EventHandler> |
EventBus.fireEvent(Event<H> event)
Fires the event on the bus (synchronously).
|
<H extends EventHandler> |
ResettableEventBus.fireEvent(Event<H> event) |
<H extends EventHandler> |
SimpleEventBus.fireEvent(Event<H> event) |
Modifier and Type | Interface and Description |
---|---|
static interface |
ModulesStartedEvent.Handler
Event handler for
ModulesStartedEvent . |
static interface |
PopulateModulesEvent.Handler
Event handler for
PopulateModulesEvent . |
static interface |
StartModuleEvent.Handler
Event handler for
StartModuleEvent . |
static interface |
StopModuleEvent.Handler
Event handler for
StopModuleEvent . |
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.