Package com.iplanet.am.sdk.ldap
Class ACIEventListener
- java.lang.Object
-
- com.iplanet.am.sdk.ldap.ACIEventListener
-
- All Implemented Interfaces:
IDSEventListener,EventListener
public class ACIEventListener extends Object implements IDSEventListener
TheACIEventListenerhandles all the events that are generated as a result of changing/deleting/renaming of entries with ACI's. This class implements thecom.iplanet.services.ldap.event.IDSEventListenerinterface.
-
-
Field Summary
Fields Modifier and Type Field Description protected static intOPERATIONSprotected static StringSEARCH_FILTER-
Fields inherited from interface com.iplanet.services.ldap.event.IDSEventListener
CHANGE_ADD, CHANGE_DELETE, CHANGE_MOD_LOCATION, CHANGE_MODIFY
-
-
Constructor Summary
Constructors Constructor Description ACIEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallEntriesChanged()This callback notifies listeners that EventService is restarting the Persistent Search connections due to connection errors, and there is no guarantee of what could have changed in the directory so mark all entries as modified.voidentryChanged(DSEvent dsEvent)This method will be invoked by theEventServiceif the events for which this listener registered has been triggered.voideventError(String errorStr)This method is invoked by theEventServiceif it encounters an error.StringgetBase()StringgetFilter()intgetOperations()intgetScope()voidsetListeners(Map listener)
-
-
-
Field Detail
-
SEARCH_FILTER
protected static final String SEARCH_FILTER
- See Also:
- Constant Field Values
-
OPERATIONS
protected static final int OPERATIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
entryChanged
public void entryChanged(DSEvent dsEvent)
This method will be invoked by theEventServiceif the events for which this listener registered has been triggered. Since this listener is interested in modifications with respect to ACI's it identifies the DN's affected by this event and sends a notification to theAMObjectImplby calling the appropriate method. Usually all the DN's whose have a suffix of this DN of this event will get affected- Specified by:
entryChangedin interfaceIDSEventListener- Parameters:
dsEvent-DSEventobject generated by theEventService.
-
eventError
public void eventError(String errorStr)
This method is invoked by theEventServiceif it encounters an error.- Specified by:
eventErrorin interfaceIDSEventListener
-
allEntriesChanged
public void allEntriesChanged()
Description copied from interface:IDSEventListenerThis callback notifies listeners that EventService is restarting the Persistent Search connections due to connection errors, and there is no guarantee of what could have changed in the directory so mark all entries as modified.- Specified by:
allEntriesChangedin interfaceIDSEventListener
-
getBase
public String getBase()
- Specified by:
getBasein interfaceIDSEventListener
-
getFilter
public String getFilter()
- Specified by:
getFilterin interfaceIDSEventListener
-
getOperations
public int getOperations()
- Specified by:
getOperationsin interfaceIDSEventListener
-
getScope
public int getScope()
- Specified by:
getScopein interfaceIDSEventListener
-
setListeners
public void setListeners(Map listener)
- Specified by:
setListenersin interfaceIDSEventListener
-
-