Class EntryEventListener

  • All Implemented Interfaces:
    IDSEventListener, EventListener

    public class EntryEventListener
    extends Object
    implements IDSEventListener
    The AMEntryEventListener handles all the events that are triggered by any modification/deletion/renaming LDAP entires which do not contain ACI's. This class implements the com.iplanet.services .ldap.event.IDSEventListener interface.
    • Constructor Detail

      • EntryEventListener

        public EntryEventListener()
    • Method Detail

      • entryChanged

        public void entryChanged​(DSEvent dsEvent)
        This method will be invoked by the EventService if the events for which this listener registered has been triggered. Since this listener is interested in modifications/deletions/renaming of normal directory entires, it identifies the distinguished names affected by this event and sends a notification to the AMObjectImpl by calling the appropriate method.
        Specified by:
        entryChanged in interface IDSEventListener
        Parameters:
        dsEvent - DSEvent object generated by the EventService.
      • eventError

        public void eventError​(String errorStr)
        This method is invoked by the EventService if it encounters an error.
        Specified by:
        eventError in interface IDSEventListener
        Parameters:
        errorStr - error string.
      • allEntriesChanged

        public void allEntriesChanged()
        Description copied from interface: IDSEventListener
        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.
        Specified by:
        allEntriesChanged in interface IDSEventListener