Package com.tangosol.net.events
Interface EventDispatcherRegistry
public interface EventDispatcherRegistry
An EventDispatcherRegistry manages the registration of
EventDispatcher
s. The registration of an EventDispatcher results
in all known and future EventInterceptor
s to be informed of the new
EventDispatcher. Unregistering an EventDispatcher causes it to no longer
be informed of any registered EventInterceptors.- Since:
- Coherence 12.1.2
- Author:
- hr 2012.09.21
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerEventDispatcher
(EventDispatcher dispatcher) Add the specifiedEventDispatcher
to the list of known EventDispatchers that are informed about registeredEventInterceptor
s.void
unregisterEventDispatcher
(EventDispatcher dispatcher) Remove the specifiedEventDispatcher
from the list of known EventDispatchers.
-
Method Details
-
registerEventDispatcher
Add the specifiedEventDispatcher
to the list of known EventDispatchers that are informed about registeredEventInterceptor
s.When the EventDispatcher is added, it is introduced to all known EventInterceptors.
- Parameters:
dispatcher
- the EventDispatcher to register
-
unregisterEventDispatcher
Remove the specifiedEventDispatcher
from the list of known EventDispatchers.- Parameters:
dispatcher
- the EventDispatcher to be removed
-