|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventService
Interface used by the DirectoryService to manage subscriptions for DIT change notifications.
| Method Summary | |
|---|---|
void |
addListener(DirectoryListener listener)
Registers a DirectoryListener for notification on any and all change events on the DIT. |
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. |
| Method Detail |
|---|
void addListener(DirectoryListener listener)
listener - the DirectoryListener to deliver notifications to
void addListener(DirectoryListener listener,
NotificationCriteria criteria)
throws java.lang.Exception
listener - the DirectoryListener to deliver notifications tocriteria - the parameterized criteria for delivering change events
java.lang.Exceptionvoid removeListener(DirectoryListener listener)
listener - the DirectoryListener to stop delivering notifications tojava.util.List<RegistrationEntry> getRegistrationEntries()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||