|
LDAP Classes Implements Java LDAP |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
EdirEventConstant | This interface defines the various constants used in this package. |
EventResponseData | This interface act as the placeholder used by all the Events Data as a common base interface. |
Class Summary | |
EdirEventIntermediateResponse | This class represents the LdapIntermediateResponse Message returned by Edirectory during Event Notification. |
EdirEventSource | This class act as a source for all the Edirectory Events. |
EdirEventSpecifier | This class is a bean for Specifying the Edirectory Events classification ,events type and event filterstring. |
MonitorEventRequest | This class is used for registering for Edirectory events. |
MonitorEventResponse | This object represents the ExtendedResponse returned when Event Registeration fails. |
MonitorFilterEventRequest | This class is used for registering for Edirectory events while also specifying an filterString for event Filtering. |
Provides classes for Edirectory Events notification when connected to a LDAP V3 Server.
The following example explains the use of EdirEventSource.
source =
new
EdirEventSource(); //create an instance
EdirEventSpecifier specifier[] =
new
EdirEventSpecifier[2]; //array of
EdirEventSpecifier to specify the event types
listener =
new
EdirLDAPEventListener(); //An
implementation of LDAPEventListener
specifier[0] =
new
EdirEventSpecifier(EdirEventConstant.EVT_ADD_VALUE,
EdirEventConstant.EVT_STATUS_ALL);
// All
Add Values events.
specifier[1] =
new
EdirEventSpecifier(EdirEventConstant.EVT_ADD_ENTRY,
EdirEventConstant.EVT_STATUS_ALL);
//All
Add Entry events.
source.registerforEvent(specifier, connection, listener);
//register for events
//Process the events in the listener
//In the end, Remove the listener
source.removeListener(listener);
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |