public class EntryEventListener extends Object implements IDSEventListener
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.Modifier and Type | Field and Description |
---|---|
protected static int |
OPERATIONS |
protected static String |
SEARCH_FILTER |
CHANGE_ADD, CHANGE_DELETE, CHANGE_MOD_LOCATION, CHANGE_MODIFY
Constructor and Description |
---|
EntryEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
allEntriesChanged()
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.
|
void |
entryChanged(DSEvent dsEvent)
This method will be invoked by the
EventService if the
events for which this listener registered has been triggered. |
void |
eventError(String errorStr)
This method is invoked by the
EventService if it
encounters an error. |
String |
getBase() |
String |
getFilter() |
int |
getOperations() |
int |
getScope() |
void |
setListeners(Map listener) |
protected static final String SEARCH_FILTER
protected static final int OPERATIONS
public void entryChanged(DSEvent dsEvent)
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.entryChanged
in interface IDSEventListener
dsEvent
- DSEvent
object generated by the
EventService
.public void eventError(String errorStr)
EventService
if it
encounters an error.eventError
in interface IDSEventListener
errorStr
- error string.public void allEntriesChanged()
IDSEventListener
allEntriesChanged
in interface IDSEventListener
public String getBase()
getBase
in interface IDSEventListener
public String getFilter()
getFilter
in interface IDSEventListener
public int getOperations()
getOperations
in interface IDSEventListener
public int getScope()
getScope
in interface IDSEventListener
public void setListeners(Map listener)
setListeners
in interface IDSEventListener
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.