public class ConfigChangeListener extends DirectoryListenerAdapter
Constructor and Description |
---|
ConfigChangeListener(ConfigPartitionReader cpReader,
DirectoryService directoryService)
Creates a new instance of ConfigChangeListener.
|
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.
|
entryMoved, entryMovedAndRenamed, entryRenamed, isSynchronous
public ConfigChangeListener(ConfigPartitionReader cpReader, DirectoryService directoryService) throws org.apache.directory.api.ldap.model.exception.LdapException
cpReader
- the configuration readerdirectoryService
- the DirectoryService instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If the instance cannot be createdpublic void entryAdded(AddOperationContext addContext)
DirectoryListener
entryAdded
in interface DirectoryListener
entryAdded
in class DirectoryListenerAdapter
addContext
- the add operation context responsible for the changepublic void entryDeleted(DeleteOperationContext deleteContext)
DirectoryListener
entryDeleted
in interface DirectoryListener
entryDeleted
in class DirectoryListenerAdapter
deleteContext
- the delete operation context responsible for the changepublic void entryModified(ModifyOperationContext modifyContext)
DirectoryListener
entryModified
in interface DirectoryListener
entryModified
in class DirectoryListenerAdapter
modifyContext
- the modify operation context responsible for the changeCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.