@Extensible @DirectoryServerExtension @DirectoryProxyServerExtension(appliesToLocalContent=true, appliesToRemoteContent=false) @SynchronizationServerExtension(appliesToLocalContent=true, appliesToSynchronizedContent=false) @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ChangeListener
ServerContext.registerChangeListener
method should
be used to register a change listener with the server, and the corresponding
deregisterChangeListener
method should be used to deregister the
listener if it is no longer needed.
Modifier and Type | Method and Description |
---|---|
void |
addOperationProcessed(CompletedOperationContext operationContext,
AddRequest addRequest,
AddResult addResult,
Entry entry)
Indicates that an add operation has been processed within the server.
|
void |
deleteOperationProcessed(CompletedOperationContext operationContext,
DeleteRequest deleteRequest,
DeleteResult deleteResult,
Entry entry)
Indicates that a delete operation has been processed within the server.
|
void |
modifyDNOperationProcessed(CompletedOperationContext operationContext,
ModifyDNRequest modifyDNRequest,
ModifyDNResult modifyDNResult,
Entry oldEntry,
Entry newEntry)
Indicates that a modify DN operation has been processed within the server.
|
void |
modifyOperationProcessed(CompletedOperationContext operationContext,
ModifyRequest modifyRequest,
ModifyResult modifyResult,
Entry oldEntry,
Entry newEntry)
Indicates that a modify operation has been processed within the server.
|
void addOperationProcessed(CompletedOperationContext operationContext, AddRequest addRequest, AddResult addResult, Entry entry)
operationContext
- The context for the add operation.addRequest
- Information about the request for the add
operation that was processed.addResult
- Information about the result for the add
operation that was processed.entry
- The entry that was added to the server.void deleteOperationProcessed(CompletedOperationContext operationContext, DeleteRequest deleteRequest, DeleteResult deleteResult, Entry entry)
operationContext
- The context for the delete operation.deleteRequest
- Information about the request for the delete
operation that was processed.deleteResult
- Information about the result for the delete
operation that was processed.entry
- The entry that was removed from the server.void modifyOperationProcessed(CompletedOperationContext operationContext, ModifyRequest modifyRequest, ModifyResult modifyResult, Entry oldEntry, Entry newEntry)
operationContext
- The context for the modify operation.modifyRequest
- Information about the request for the modify
operation that was processed.modifyResult
- Information about the result for the modify
operation that was processed.oldEntry
- The entry as it appeared before the change was
processed.newEntry
- The entry as it appeared immediately after the
change was processed.void modifyDNOperationProcessed(CompletedOperationContext operationContext, ModifyDNRequest modifyDNRequest, ModifyDNResult modifyDNResult, Entry oldEntry, Entry newEntry)
operationContext
- The context for the modify DN operation.modifyDNRequest
- Information about the request for the modify DN
operation that was processed.modifyDNResult
- Information about the result for the modify DN
operation that was processed.oldEntry
- The entry as it appeared before the change was
processed.newEntry
- The entry as it appeared immediately after the
change was processed.