|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.ldap.handlers.PersistentSearchListener
public class PersistentSearchListener
A DirectoryListener implementation which sends back added, deleted, modified or renamed entries to a client that created this listener. This class is part of the persistent search implementation which uses the event notification scheme built into the server core. This listener is disabled only when a session closes or when an abandon request cancels it. Hence time and size limits in normal search operations do not apply here.
Method Summary | |
---|---|
void |
abandon()
|
void |
entryAdded(AddOperationContext opContext)
Called when an entry has been added. |
void |
entryDeleted(DeleteOperationContext opContext)
Called when an entry has been deleted. |
void |
entryModified(ModifyOperationContext opContext)
Called when an entry has been modified. |
void |
entryMoved(MoveOperationContext opContext)
Called when an entry is moved. |
void |
entryMovedAndRenamed(MoveAndRenameOperationContext opContext)
Called when an entry is moved and renamed at the same time. |
void |
entryRenamed(RenameOperationContext opContext)
Called when an entry has been renamed. |
void |
requestAbandoned(org.apache.directory.shared.ldap.message.AbandonableRequest req)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void abandon() throws javax.naming.NamingException
javax.naming.NamingException
public void requestAbandoned(org.apache.directory.shared.ldap.message.AbandonableRequest req)
requestAbandoned
in interface org.apache.directory.shared.ldap.message.AbandonListener
public void entryAdded(AddOperationContext opContext)
DirectoryListener
entryAdded
in interface DirectoryListener
opContext
- the add operation context responsible for the changepublic void entryDeleted(DeleteOperationContext opContext)
DirectoryListener
entryDeleted
in interface DirectoryListener
opContext
- the delete operation context responsible for the changepublic void entryModified(ModifyOperationContext opContext)
DirectoryListener
entryModified
in interface DirectoryListener
opContext
- the modify operation context responsible for the changepublic void entryMoved(MoveOperationContext opContext)
DirectoryListener
entryMoved
in interface DirectoryListener
opContext
- the move operation context responsible for the changepublic void entryMovedAndRenamed(MoveAndRenameOperationContext opContext)
DirectoryListener
entryMovedAndRenamed
in interface DirectoryListener
opContext
- the move/rename operation context responsible for the changepublic void entryRenamed(RenameOperationContext opContext)
DirectoryListener
entryRenamed
in interface DirectoryListener
opContext
- the rename operation context responsible for the change
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |