public class EventBusImpl extends AbstractEventBus
EventBus
. It is compatible to work
in limited environments such as GWT.AbstractEventBus.EventDispatcher<E>, AbstractEventBus.EventListenerContainer<E>
Modifier and Type | Field and Description |
---|---|
private boolean |
dispatching |
Constructor and Description |
---|
EventBusImpl()
The constructor.
|
EventBusImpl(QueueFactory queueFactory,
MapFactory<?> mapFactory)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
triggerDispatchEvents()
Called from
AbstractEventBus.sendEvent(Object) to ensure AbstractEventBus.dispatchEvents() is triggered. |
addListener, dispatchEvent, dispatchEvents, getEventDispatcherOptional, getEventDispatcherRequired, getGlobalExceptionHandler, handleErrors, handleUndispatchedEvent, removeListener, sendEvent, setGlobalExceptionHandler
createLogger, doInitialize, getLogger
doInitialized, getInitializationState, initialize
public EventBusImpl()
public EventBusImpl(QueueFactory queueFactory, MapFactory<?> mapFactory)
queueFactory
- is the QueueFactory
to use.mapFactory
- is MapFactory
to use.protected void triggerDispatchEvents()
AbstractEventBus
AbstractEventBus.sendEvent(Object)
to ensure AbstractEventBus.dispatchEvents()
is triggered. This can be done
synchronous or asynchronous.triggerDispatchEvents
in class AbstractEventBus
Copyright © 2001–2016 mmm-Team. All rights reserved.