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.message.AbandonListener

public class PersistentSearchListener
extends java.lang.Object
implements DirectoryListener, org.apache.directory.shared.ldap.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.

Version:
$Rev: 690033 $
Author:
Apache Directory Project

Method Summary
 void abandon()
           
 void entryAdded(AddOperationContext opContext)
           
 void entryDeleted(DeleteOperationContext opContext)
           
 void entryModified(ModifyOperationContext opContext)
           
 void entryMoved(MoveOperationContext opContext)
           
 void entryMovedAndRenamed(MoveAndRenameOperationContext opContext)
           
 void entryRenamed(RenameOperationContext opContext)
           
 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

abandon

public void abandon()
             throws javax.naming.NamingException
Throws:
javax.naming.NamingException

requestAbandoned

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

entryAdded

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

entryDeleted

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

entryModified

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

entryMoved

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

entryMovedAndRenamed

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

entryRenamed

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


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