Local event delivery subsystem interfaces & supporting abstractions.
Interface Summary Interface Description Event<T extends Enum,S>Abstraction of an of a time-stamped event pertaining to an arbitrary subject. EventDeliveryServiceAbstraction of an entity capable of accepting events to be posted and then dispatching them to the appropriate event sink. EventDispatcherAbstraction of a mechanism capable of accepting and dispatching events to appropriate event sinks. EventFilter<E extends Event>Entity capable of filtering events. EventListener<E extends Event>Entity capable of receiving events. EventSink<E extends Event>Abstraction of an event sink capable of processing the specified event types. EventSinkRegistryAbstraction of an event sink registry capable of tracking sinks based on their event class. ListenerService<E extends Event,L extends EventListener<E>>Abstraction of a service capable of asynchronously notifying listeners.
Class Summary Class Description AbstractEvent<T extends Enum,S>Base event implementation. AbstractListenerManager<E extends Event,L extends EventListener<E>>Basis for components which need to export listener mechanism. Change<T>Generic representation of an update. DefaultEventSinkRegistryBase implementation of event sink registry. ListenerRegistry<E extends Event,L extends EventListener<E>>Base implementation of an event sink and a registry capable of tracking listeners and dispatching events to them as part of event sink processing. ListenerTrackerUtility to keeps track of registered Listeners.