public interface EventService
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(DirectoryListener listener,
NotificationCriteria criteria)
Registers a DirectoryListener for notification on change events on the
DIT matching some notification criteria.
|
java.util.List<RegistrationEntry> |
getRegistrationEntries()
Lists the listeners registered with this EventService.
|
void |
removeListener(DirectoryListener listener)
Removes the listener from this EventService preventing all events
registered from being delivered to it.
|
void addListener(DirectoryListener listener, NotificationCriteria criteria) throws java.lang.Exception
listener - the DirectoryListener to deliver notifications tocriteria - the parameterized criteria for delivering change eventsjava.lang.Exceptionvoid removeListener(DirectoryListener listener)
listener - the DirectoryListener to stop delivering notifications tojava.util.List<RegistrationEntry> getRegistrationEntries()