public class EventListenerAdapter extends Object implements DirectoryListener
| Constructor and Description |
|---|
EventListenerAdapter(ServerLdapContext source,
NamingListener listener) |
EventListenerAdapter(ServerLdapContext source,
NamingListener listener,
SearchControls controls) |
| Modifier and Type | Method and Description |
|---|---|
void |
entryAdded(AddOperationContext addContext)
Called when an entry has been added.
|
void |
entryDeleted(DeleteOperationContext deleteContext)
Called when an entry has been deleted.
|
void |
entryModified(ModifyOperationContext modifyContext)
Called when an entry has been modified.
|
void |
entryMoved(MoveOperationContext moveContext)
Called when an entry is moved.
|
void |
entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
Called when an entry is moved and renamed at the same time.
|
void |
entryRenamed(RenameOperationContext renameContext)
Called when an entry has been renamed.
|
boolean |
isSynchronous()
indicates if this listener needs to be invoked synchronously
|
public EventListenerAdapter(ServerLdapContext source, NamingListener listener)
public EventListenerAdapter(ServerLdapContext source, NamingListener listener, SearchControls controls)
public boolean isSynchronous()
DirectoryListenerisSynchronous in interface DirectoryListenerpublic void entryAdded(AddOperationContext addContext)
DirectoryListenerentryAdded in interface DirectoryListeneraddContext - the add operation context responsible for the changepublic void entryDeleted(DeleteOperationContext deleteContext)
DirectoryListenerentryDeleted in interface DirectoryListenerdeleteContext - the delete operation context responsible for the changepublic void entryModified(ModifyOperationContext modifyContext)
DirectoryListenerentryModified in interface DirectoryListenermodifyContext - the modify operation context responsible for the changepublic void entryMoved(MoveOperationContext moveContext)
DirectoryListenerentryMoved in interface DirectoryListenermoveContext - the move operation context responsible for the changepublic void entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
DirectoryListenerentryMovedAndRenamed in interface DirectoryListenermoveAndRenameContext - the move/rename operation context responsible for the changepublic void entryRenamed(RenameOperationContext renameContext)
DirectoryListenerentryRenamed in interface DirectoryListenerrenameContext - the rename operation context responsible for the changeCopyright © 2021. All rights reserved.