Interface EventBus

All Superinterfaces:
DescribableComponent, EventSink, SubscribableEventSource
All Known Subinterfaces:
EventStore
All Known Implementing Classes:
DelegatingEventBus, InterceptingEventBus, InterceptingEventStore, RecordingEventBus, RecordingEventStore, SimpleEventBus, StorageEngineBackedEventStore

public interface EventBus extends SubscribableEventSource, EventSink, DescribableComponent
Specification of the mechanism on which the Event Listeners can subscribe for events and event publishers can publish their events. The event bus dispatches events to all subscribed listeners.

Implementations may or may not dispatch the events to event listeners in the dispatching thread.

Since:
0.1
Author:
Allard Buijze
See Also: