|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.interceptor.BaseInterceptor
org.apache.directory.server.core.changelog.ChangeLogInterceptor
public class ChangeLogInterceptor
An interceptor which intercepts write operations to the directory and logs them with the server's ChangeLog service. Note: Adding/deleting a tag is not recorded as a change
Constructor Summary | |
---|---|
ChangeLogInterceptor()
|
Method Summary | |
---|---|
void |
add(NextInterceptor next,
AddOperationContext opContext)
Filters Partition.add( AddOperationContext ) call. |
void |
delete(NextInterceptor next,
DeleteOperationContext opContext)
The delete operation has to be stored with a way to restore the deleted element. |
void |
init(DirectoryService directoryService)
This method does nothing by default. |
void |
modify(NextInterceptor next,
ModifyOperationContext opContext)
Filters Partition.modify( ModifyOperationContext ) call. |
void |
move(NextInterceptor next,
MoveOperationContext opCtx)
Filters Partition.move( MoveOperationContext ) call. |
void |
moveAndRename(NextInterceptor next,
MoveAndRenameOperationContext opCtx)
Filters Partition.moveAndRename( MoveAndRenameOperationContext) call. |
void |
rename(NextInterceptor next,
RenameOperationContext renameContext)
Filters Partition.rename( RenameOperationContext ) call. |
Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
---|
addContextPartition, bind, compare, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, list, listSuffixes, lookup, removeContextPartition, search, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeLogInterceptor()
Method Detail |
---|
public void init(DirectoryService directoryService) throws java.lang.Exception
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
java.lang.Exception
public void add(NextInterceptor next, AddOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.add( AddOperationContext )
call.
add
in interface Interceptor
add
in class BaseInterceptor
java.lang.Exception
public void delete(NextInterceptor next, DeleteOperationContext opContext) throws java.lang.Exception
delete
in interface Interceptor
delete
in class BaseInterceptor
java.lang.Exception
public void modify(NextInterceptor next, ModifyOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.modify( ModifyOperationContext )
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
java.lang.Exception
public void rename(NextInterceptor next, RenameOperationContext renameContext) throws java.lang.Exception
Interceptor
Partition.rename( RenameOperationContext )
call.
rename
in interface Interceptor
rename
in class BaseInterceptor
java.lang.Exception
public void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opCtx) throws java.lang.Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.
moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
java.lang.Exception
public void move(NextInterceptor next, MoveOperationContext opCtx) throws java.lang.Exception
Interceptor
Partition.move( MoveOperationContext )
call.
move
in interface Interceptor
move
in class BaseInterceptor
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |