Interface EventManager
- All Known Implementing Classes:
AbstractConcurrentEventManager, AbstractDataCache, AbstractQueryCache, BrokerFactoryEventManager, ConcurrentDataCache, ConcurrentQueryCache, JDBCEventConnectionDecorator, PartitionedDataCache, RemoteCommitEventManager, TransactionEventManager
public interface EventManager
Basic event manager interface.
- Author:
- Abe White
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Object listener) Add an event listener.Fire the given event to all listeners, returning any exceptions.Return a read-only list of listeners.booleanhasListener(Object listener) Return whether the given instance is in the list of listeners.booleanReturn true if there are any registered listeners.booleanremoveListener(Object listener) Remove an event listener.
-
Method Details
-
addListener
Add an event listener. -
removeListener
Remove an event listener. -
hasListener
Return whether the given instance is in the list of listeners. -
hasListeners
boolean hasListeners()Return true if there are any registered listeners. -
getListeners
Collection getListeners()Return a read-only list of listeners. -
fireEvent
-