public class MockInterceptor extends Object implements Interceptor
Constructor and Description |
---|
MockInterceptor() |
public void setName(String name)
public void setTest(InterceptorChain test)
public String getName()
Interceptor
getName
in interface Interceptor
public void init(DirectoryService directoryService) throws NamingException
Interceptor
InterceptorChain
when this intercepter is loaded into interceptor chain.init
in interface Interceptor
NamingException
public void destroy()
Interceptor
InterceptorChain
when this intercepter is unloaded from interceptor chain.destroy
in interface Interceptor
public ClonedServerEntry getRootDSE(NextInterceptor next, GetRootDSEOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#getRootDSE( GetRootDSEOperationContext )
call.getRootDSE
in interface Interceptor
Exception
public org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor next, GetMatchedNameOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext )
call.getMatchedName
in interface Interceptor
Exception
public org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor next, GetSuffixOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#getSuffix( GetSuffixOperationContext )
call.getSuffix
in interface Interceptor
Exception
public Set<String> listSuffixes(NextInterceptor next, ListSuffixOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#listSuffixes( ListSuffixOperationContext )
call.listSuffixes
in interface Interceptor
Exception
public void addContextPartition(NextInterceptor next, AddContextPartitionOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#addContextPartition( AddContextPartitionOperationContext )
call.addContextPartition
in interface Interceptor
Exception
public void removeContextPartition(NextInterceptor next, RemoveContextPartitionOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#removeContextPartition( RemoveContextPartitionOperationContext )
call.removeContextPartition
in interface Interceptor
Exception
public boolean compare(NextInterceptor next, CompareOperationContext opContext) throws Exception
Interceptor
DefaultPartitionNexus#compare( CompareOperationContext )
call.compare
in interface Interceptor
Exception
public void delete(NextInterceptor next, DeleteOperationContext opContext) throws Exception
Interceptor
Partition.delete( DeleteOperationContext )
call.delete
in interface Interceptor
Exception
public void add(NextInterceptor next, AddOperationContext opContext) throws Exception
Interceptor
Partition.add( AddOperationContext )
call.add
in interface Interceptor
Exception
public void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
Interceptor
Partition.modify( ModifyOperationContext )
call.modify
in interface Interceptor
Exception
public EntryFilteringCursor list(NextInterceptor next, ListOperationContext opContext) throws Exception
Interceptor
Partition.list( ListOperationContext )
call.list
in interface Interceptor
Exception
public EntryFilteringCursor search(NextInterceptor next, SearchOperationContext opContext) throws Exception
Interceptor
Partition.search( SearchOperationContext )
call.search
in interface Interceptor
Exception
public ClonedServerEntry lookup(NextInterceptor next, LookupOperationContext opContext) throws Exception
Interceptor
Partition.lookup( LookupOperationContext )
call.lookup
in interface Interceptor
Exception
public boolean hasEntry(NextInterceptor next, EntryOperationContext opContext) throws Exception
Interceptor
Partition.hasEntry( EntryOperationContext )
call.hasEntry
in interface Interceptor
Exception
public void rename(NextInterceptor next, RenameOperationContext opContext) throws Exception
Interceptor
Partition.rename( RenameOperationContext )
call.rename
in interface Interceptor
Exception
public void move(NextInterceptor next, MoveOperationContext opContext) throws Exception
Interceptor
Partition.move( MoveOperationContext )
call.move
in interface Interceptor
Exception
public void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext) throws Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.moveAndRename
in interface Interceptor
Exception
public void bind(NextInterceptor next, BindOperationContext opContext) throws Exception
Interceptor
Partition.bind( BindOperationContext )
call.bind
in interface Interceptor
Exception
public void unbind(NextInterceptor next, UnbindOperationContext opContext) throws Exception
Interceptor
Partition.unbind( UnbindOperationContext )
call.unbind
in interface Interceptor
Exception
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.