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