|
||||||||||
| 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
public abstract class BaseInterceptor
A easy-to-use implementation of Interceptor. All methods are
implemented to pass the flow of control to next interceptor by defaults.
Please override the methods you have concern in.
| Constructor Summary | |
|---|---|
protected |
BaseInterceptor()
Creates a new instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseInterceptor()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Interceptorpublic static LdapPrincipal getPrincipal()
LdapPrincipal of current context.
public static OperationContext getContext()
Context.
public void init(DirectoryService directoryService)
throws java.lang.Exception
init in interface Interceptorjava.lang.Exceptionpublic void destroy()
destroy in interface Interceptor
public void add(NextInterceptor next,
AddOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.add( AddOperationContext ) call.
add in interface Interceptorjava.lang.Exception
public void delete(NextInterceptor next,
DeleteOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.delete( DeleteOperationContext ) call.
delete in interface Interceptorjava.lang.Exception
public org.apache.directory.shared.ldap.name.LdapDN getMatchedName(NextInterceptor next,
GetMatchedNameOperationContext opContext)
throws java.lang.Exception
InterceptorPartitionNexus.getMatchedName( GetMatchedNameOperationContext ) call.
getMatchedName in interface Interceptorjava.lang.Exception
public ClonedServerEntry getRootDSE(NextInterceptor next,
GetRootDSEOperationContext opContext)
throws java.lang.Exception
InterceptorPartitionNexus.getRootDSE( GetRootDSEOperationContext ) call.
getRootDSE in interface Interceptorjava.lang.Exception
public org.apache.directory.shared.ldap.name.LdapDN getSuffix(NextInterceptor next,
GetSuffixOperationContext opContext)
throws java.lang.Exception
InterceptorPartitionNexus.getSuffix( GetSuffixOperationContext ) call.
getSuffix in interface Interceptorjava.lang.Exception
public boolean hasEntry(NextInterceptor next,
EntryOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.hasEntry( EntryOperationContext ) call.
hasEntry in interface Interceptorjava.lang.Exception
public EntryFilteringCursor list(NextInterceptor next,
ListOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.list( ListOperationContext ) call.
list in interface Interceptorjava.lang.Exception
public java.util.Iterator<java.lang.String> listSuffixes(NextInterceptor next,
ListSuffixOperationContext opContext)
throws java.lang.Exception
InterceptorPartitionNexus.listSuffixes( ListSuffixOperationContext ) call.
listSuffixes in interface Interceptorjava.lang.Exception
public ClonedServerEntry lookup(NextInterceptor next,
LookupOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.lookup( LookupOperationContext ) call.
lookup in interface Interceptorjava.lang.Exception
public void modify(NextInterceptor next,
ModifyOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.modify( ModifyOperationContext ) call.
modify in interface Interceptorjava.lang.Exception
public void rename(NextInterceptor next,
RenameOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.rename( RenameOperationContext ) call.
rename in interface Interceptorjava.lang.Exception
public void moveAndRename(NextInterceptor next,
MoveAndRenameOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.moveAndRename( MoveAndRenameOperationContext) call.
moveAndRename in interface Interceptorjava.lang.Exception
public void move(NextInterceptor next,
MoveOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.move( MoveOperationContext ) call.
move in interface Interceptorjava.lang.Exception
public EntryFilteringCursor search(NextInterceptor next,
SearchOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.search( SearchOperationContext ) call.
search in interface Interceptorjava.lang.Exception
public void addContextPartition(NextInterceptor next,
AddContextPartitionOperationContext opContext)
throws java.lang.Exception
InterceptorPartitionNexus.addContextPartition( AddContextPartitionOperationContext ) call.
addContextPartition in interface Interceptorjava.lang.Exception
public void removeContextPartition(NextInterceptor next,
RemoveContextPartitionOperationContext opContext)
throws java.lang.Exception
InterceptorPartitionNexus.removeContextPartition( RemoveContextPartitionOperationContext ) call.
removeContextPartition in interface Interceptorjava.lang.Exception
public boolean compare(NextInterceptor next,
CompareOperationContext opContext)
throws java.lang.Exception
InterceptorPartitionNexus.compare( CompareOperationContext ) call.
compare in interface Interceptorjava.lang.Exception
public void bind(NextInterceptor next,
BindOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.bind( BindOperationContext ) call.
bind in interface Interceptorjava.lang.Exception
public void unbind(NextInterceptor next,
UnbindOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.unbind( UnbindOperationContext ) call.
unbind in interface Interceptorjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||