org.apache.directory.server.ldap.handlers
Class PersistentSearchListener

java.lang.Object
  extended by org.apache.directory.server.ldap.handlers.PersistentSearchListener
All Implemented Interfaces:
DirectoryListener, org.apache.directory.shared.ldap.model.message.AbandonListener

public class PersistentSearchListener
extends Object
implements DirectoryListener, org.apache.directory.shared.ldap.model.message.AbandonListener

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.

Author:
Apache Directory Project

Method Summary
 void abandon()
           
 void entryAdded(AddOperationContext addContext)
           
 void entryDeleted(DeleteOperationContext deleteContext)
           
 void entryModified(ModifyOperationContext modifyContext)
           
 void entryMoved(MoveOperationContext moveContext)
           
 void entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
           
 void entryRenamed(RenameOperationContext renameContext)
           
 void requestAbandoned(org.apache.directory.shared.ldap.model.message.AbandonableRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

abandon

public void abandon()
             throws org.apache.directory.shared.ldap.model.exception.LdapException
Throws:
org.apache.directory.shared.ldap.model.exception.LdapException

requestAbandoned

public void requestAbandoned(org.apache.directory.shared.ldap.model.message.AbandonableRequest req)
Specified by:
requestAbandoned in interface org.apache.directory.shared.ldap.model.message.AbandonListener

entryAdded

public void entryAdded(AddOperationContext addContext)
Specified by:
entryAdded in interface DirectoryListener

entryDeleted

public void entryDeleted(DeleteOperationContext deleteContext)
Specified by:
entryDeleted in interface DirectoryListener

entryModified

public void entryModified(ModifyOperationContext modifyContext)
Specified by:
entryModified in interface DirectoryListener

entryMoved

public void entryMoved(MoveOperationContext moveContext)
Specified by:
entryMoved in interface DirectoryListener

entryMovedAndRenamed

public void entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
Specified by:
entryMovedAndRenamed in interface DirectoryListener

entryRenamed

public void entryRenamed(RenameOperationContext renameContext)
Specified by:
entryRenamed in interface DirectoryListener


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.