All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.novell.ldap.events.edir.package.html Maven / Gradle / Ivy








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);





© 2015 - 2024 Weber Informatics LLC | Privacy Policy