LDAP Classes
Implements Java LDAP

Package com.novell.ldap.events.edir

Provides classes for Edirectory Events notification when connected to a LDAP V3 Server.

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.
 

Package com.novell.ldap.events.edir Description

Provides classes for Edirectory Events notification when connected to a LDAP V3 Server.

Package Specification

This package defines the classes for notification of Edirectory Events. 

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

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000