org.apache.directory.server.core.event
Interface DirectoryListener

All Known Implementing Classes:
EventListenerAdapter, PersistentSearchListener

public interface DirectoryListener

A listener which is notified of changes to the directory service.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Method Summary
 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.
 

Method Detail

entryAdded

void entryAdded(AddOperationContext opContext)
Called when an entry has been added.

Parameters:
opContext - the add operation context responsible for the change

entryDeleted

void entryDeleted(DeleteOperationContext opContext)
Called when an entry has been deleted.

Parameters:
opContext - the delete operation context responsible for the change

entryModified

void entryModified(ModifyOperationContext opContext)
Called when an entry has been modified.

Parameters:
opContext - the modify operation context responsible for the change

entryRenamed

void entryRenamed(RenameOperationContext opContext)
Called when an entry has been renamed.

Parameters:
opContext - the rename operation context responsible for the change

entryMoved

void entryMoved(MoveOperationContext opContext)
Called when an entry is moved.

Parameters:
opContext - the move operation context responsible for the change

entryMovedAndRenamed

void entryMovedAndRenamed(MoveAndRenameOperationContext opContext)
Called when an entry is moved and renamed at the same time.

Parameters:
opContext - the move/rename operation context responsible for the change


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