org.apache.directory.server.core.journal
Class JournalInterceptor

java.lang.Object
  extended by org.apache.directory.server.core.interceptor.BaseInterceptor
      extended by org.apache.directory.server.core.journal.JournalInterceptor
All Implemented Interfaces:
Interceptor

public class JournalInterceptor
extends BaseInterceptor

An interceptor which intercepts write operations to the directory and logs them into a journal.

XBean

Constructor Summary
JournalInterceptor()
           
 
Method Summary
 void add(NextInterceptor next, AddOperationContext opContext)
          Filters Partition.add( AddOperationContext ) call.
 void delete(NextInterceptor next, DeleteOperationContext opContext)
          Filters Partition.delete( DeleteOperationContext ) call.
 void init(DirectoryService directoryService)
          The init method will initialize the local variables and load the entryDeleted AttributeType.
 void modify(NextInterceptor next, ModifyOperationContext opContext)
          Filters Partition.modify( ModifyOperationContext ) call.
 void move(NextInterceptor next, MoveOperationContext opContext)
          Filters Partition.move( MoveOperationContext ) call.
 void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext)
          Filters Partition.moveAndRename( MoveAndRenameOperationContext) call.
 void rename(NextInterceptor next, RenameOperationContext opContext)
          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

JournalInterceptor

public JournalInterceptor()
Method Detail

init

public void init(DirectoryService directoryService)
          throws java.lang.Exception
The init method will initialize the local variables and load the entryDeleted AttributeType.

Specified by:
init in interface Interceptor
Overrides:
init in class BaseInterceptor
Throws:
java.lang.Exception

add

public void add(NextInterceptor next,
                AddOperationContext opContext)
         throws java.lang.Exception
Filters Partition.add( AddOperationContext ) call.

Specified by:
add in interface Interceptor
Overrides:
add in class BaseInterceptor
Throws:
java.lang.Exception

delete

public void delete(NextInterceptor next,
                   DeleteOperationContext opContext)
            throws java.lang.Exception
Filters Partition.delete( DeleteOperationContext ) call.

Specified by:
delete in interface Interceptor
Overrides:
delete in class BaseInterceptor
Throws:
java.lang.Exception

modify

public void modify(NextInterceptor next,
                   ModifyOperationContext opContext)
            throws java.lang.Exception
Filters Partition.modify( ModifyOperationContext ) call.

Specified by:
modify in interface Interceptor
Overrides:
modify in class BaseInterceptor
Throws:
java.lang.Exception

rename

public void rename(NextInterceptor next,
                   RenameOperationContext opContext)
            throws java.lang.Exception
Filters Partition.rename( RenameOperationContext ) call.

Specified by:
rename in interface Interceptor
Overrides:
rename in class BaseInterceptor
Throws:
java.lang.Exception

moveAndRename

public void moveAndRename(NextInterceptor next,
                          MoveAndRenameOperationContext opContext)
                   throws java.lang.Exception
Filters Partition.moveAndRename( MoveAndRenameOperationContext) call.

Specified by:
moveAndRename in interface Interceptor
Overrides:
moveAndRename in class BaseInterceptor
Throws:
java.lang.Exception

move

public void move(NextInterceptor next,
                 MoveOperationContext opContext)
          throws java.lang.Exception
Filters Partition.move( MoveOperationContext ) call.

Specified by:
move in interface Interceptor
Overrides:
move in class BaseInterceptor
Throws:
java.lang.Exception


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