public class ACIEventListener extends Object implements IDSEventListener
ACIEventListener
handles all the events that are generated
as a result of changing/deleting/renaming of entries with 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 |
---|
ACIEventListener() |
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 with respect to ACI's it
identifies the DN's affected by this event and sends a notification to
the AMObjectImpl
by calling the appropriate method.
Usually all the DN's whose have a suffix of this DN of this event will
get affected
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
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.