This is the actual implementation of the OSGi R4 Event Admin Service (see the Compendium 113 for details). The implementation uses a
HandlerTasks in order to determine applicable
EventHandler for a specific event and subsequently dispatches the event to the handlers via
DeliverTasks. To do this, it uses two different
DeliverTasks one for asynchronous and one for synchronous event delivery depending on whether its
post() or its
send() method is called. Note that the actual work is done in the implementations of the
DeliverTasks. Additionally, a stop method is provided that prevents subsequent events to be delivered.
@author
Felix Project Team