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.
|
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 Exception
listener - the DirectoryListener to deliver notifications tocriteria - the parameterized criteria for delivering change eventsExceptionvoid removeListener(DirectoryListener listener)
listener - the DirectoryListener to stop delivering notifications toList<RegistrationEntry> getRegistrationEntries()
Copyright © 2021. All rights reserved.