|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.MockInterceptor
public class MockInterceptor
Constructor Summary | |
---|---|
MockInterceptor()
|
Method Summary | |
---|---|
void |
add(NextInterceptor next,
AddOperationContext opContext)
Filters Partition.add( AddOperationContext ) call. |
void |
addContextPartition(NextInterceptor next,
AddContextPartitionOperationContext opContext)
Filters DefaultPartitionNexus#addContextPartition( AddContextPartitionOperationContext ) call. |
void |
bind(NextInterceptor next,
BindOperationContext opContext)
Filters Partition.bind( BindOperationContext ) call. |
boolean |
compare(NextInterceptor next,
CompareOperationContext opContext)
Filters DefaultPartitionNexus#compare( CompareOperationContext ) call. |
void |
delete(NextInterceptor next,
DeleteOperationContext opContext)
Filters Partition.delete( DeleteOperationContext ) call. |
void |
destroy()
Deinitializes this interceptor. |
org.apache.directory.shared.ldap.name.DN |
getMatchedName(NextInterceptor next,
GetMatchedNameOperationContext opContext)
Filters DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext ) call. |
java.lang.String |
getName()
Name that must be unique in an interceptor chain |
ClonedServerEntry |
getRootDSE(NextInterceptor next,
GetRootDSEOperationContext opContext)
Filters DefaultPartitionNexus#getRootDSE( GetRootDSEOperationContext ) call. |
org.apache.directory.shared.ldap.name.DN |
getSuffix(NextInterceptor next,
GetSuffixOperationContext opContext)
Filters DefaultPartitionNexus#getSuffix( GetSuffixOperationContext ) call. |
boolean |
hasEntry(NextInterceptor next,
EntryOperationContext opContext)
Filters Partition.hasEntry( EntryOperationContext ) call. |
void |
init(DirectoryService directoryService)
Intializes this interceptor. |
EntryFilteringCursor |
list(NextInterceptor next,
ListOperationContext opContext)
Filters Partition.list( ListOperationContext ) call. |
java.util.Set<java.lang.String> |
listSuffixes(NextInterceptor next,
ListSuffixOperationContext opContext)
Filters DefaultPartitionNexus#listSuffixes( ListSuffixOperationContext ) call. |
ClonedServerEntry |
lookup(NextInterceptor next,
LookupOperationContext opContext)
Filters Partition.lookup( LookupOperationContext ) call. |
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 |
removeContextPartition(NextInterceptor next,
RemoveContextPartitionOperationContext opContext)
Filters DefaultPartitionNexus#removeContextPartition( RemoveContextPartitionOperationContext ) call. |
void |
rename(NextInterceptor next,
RenameOperationContext opContext)
Filters Partition.rename( RenameOperationContext ) call. |
EntryFilteringCursor |
search(NextInterceptor next,
SearchOperationContext opContext)
Filters Partition.search( SearchOperationContext ) call. |
void |
setName(java.lang.String name)
|
void |
setTest(InterceptorChain test)
|
java.lang.String |
toString()
|
void |
unbind(NextInterceptor next,
UnbindOperationContext opContext)
Filters Partition.unbind( UnbindOperationContext ) call. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MockInterceptor()
Method Detail |
---|
public void setName(java.lang.String name)
public void setTest(InterceptorChain test)
public java.lang.String getName()
Interceptor
getName
in interface Interceptor
public void init(DirectoryService directoryService) throws javax.naming.NamingException
Interceptor
InterceptorChain
when this intercepter is loaded into interceptor chain.
init
in interface Interceptor
javax.naming.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 java.lang.Exception
Interceptor
DefaultPartitionNexus#getRootDSE( GetRootDSEOperationContext )
call.
getRootDSE
in interface Interceptor
java.lang.Exception
public org.apache.directory.shared.ldap.name.DN getMatchedName(NextInterceptor next, GetMatchedNameOperationContext opContext) throws java.lang.Exception
Interceptor
DefaultPartitionNexus#getMatchedName( GetMatchedNameOperationContext )
call.
getMatchedName
in interface Interceptor
java.lang.Exception
public org.apache.directory.shared.ldap.name.DN getSuffix(NextInterceptor next, GetSuffixOperationContext opContext) throws java.lang.Exception
Interceptor
DefaultPartitionNexus#getSuffix( GetSuffixOperationContext )
call.
getSuffix
in interface Interceptor
java.lang.Exception
public java.util.Set<java.lang.String> listSuffixes(NextInterceptor next, ListSuffixOperationContext opContext) throws java.lang.Exception
Interceptor
DefaultPartitionNexus#listSuffixes( ListSuffixOperationContext )
call.
listSuffixes
in interface Interceptor
java.lang.Exception
public void addContextPartition(NextInterceptor next, AddContextPartitionOperationContext opContext) throws java.lang.Exception
Interceptor
DefaultPartitionNexus#addContextPartition( AddContextPartitionOperationContext )
call.
addContextPartition
in interface Interceptor
java.lang.Exception
public void removeContextPartition(NextInterceptor next, RemoveContextPartitionOperationContext opContext) throws java.lang.Exception
Interceptor
DefaultPartitionNexus#removeContextPartition( RemoveContextPartitionOperationContext )
call.
removeContextPartition
in interface Interceptor
java.lang.Exception
public boolean compare(NextInterceptor next, CompareOperationContext opContext) throws java.lang.Exception
Interceptor
DefaultPartitionNexus#compare( CompareOperationContext )
call.
compare
in interface Interceptor
java.lang.Exception
public void delete(NextInterceptor next, DeleteOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.delete( DeleteOperationContext )
call.
delete
in interface Interceptor
java.lang.Exception
public void add(NextInterceptor next, AddOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.add( AddOperationContext )
call.
add
in interface Interceptor
java.lang.Exception
public void modify(NextInterceptor next, ModifyOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.modify( ModifyOperationContext )
call.
modify
in interface Interceptor
java.lang.Exception
public EntryFilteringCursor list(NextInterceptor next, ListOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.list( ListOperationContext )
call.
list
in interface Interceptor
java.lang.Exception
public EntryFilteringCursor search(NextInterceptor next, SearchOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.search( SearchOperationContext )
call.
search
in interface Interceptor
java.lang.Exception
public ClonedServerEntry lookup(NextInterceptor next, LookupOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.lookup( LookupOperationContext )
call.
lookup
in interface Interceptor
java.lang.Exception
public boolean hasEntry(NextInterceptor next, EntryOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.hasEntry( EntryOperationContext )
call.
hasEntry
in interface Interceptor
java.lang.Exception
public void rename(NextInterceptor next, RenameOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.rename( RenameOperationContext )
call.
rename
in interface Interceptor
java.lang.Exception
public void move(NextInterceptor next, MoveOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.move( MoveOperationContext )
call.
move
in interface Interceptor
java.lang.Exception
public void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.
moveAndRename
in interface Interceptor
java.lang.Exception
public void bind(NextInterceptor next, BindOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.bind( BindOperationContext )
call.
bind
in interface Interceptor
java.lang.Exception
public void unbind(NextInterceptor next, UnbindOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.unbind( UnbindOperationContext )
call.
unbind
in interface Interceptor
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |