|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.interceptor.InterceptorChain
public class InterceptorChain
Manages the chain of Interceptor
s.
Constructor Summary | |
---|---|
InterceptorChain()
Create a new interceptor chain. |
Method Summary | |
---|---|
void |
add(AddOperationContext opContext)
|
void |
addAfter(java.lang.String prevInterceptorName,
Interceptor interceptor)
|
void |
addBefore(java.lang.String nextInterceptorName,
Interceptor interceptor)
|
void |
addContextPartition(AddContextPartitionOperationContext opContext)
|
void |
addFirst(Interceptor interceptor)
|
void |
addLast(Interceptor interceptor)
|
void |
bind(BindOperationContext opContext)
|
boolean |
compare(CompareOperationContext opContext)
|
void |
delete(DeleteOperationContext opContext)
|
void |
destroy()
Deinitializes and deregisters all interceptors this chain contains. |
Interceptor |
get(java.lang.String interceptorName)
Returns the registered interceptor with the specified name. |
java.util.List<Interceptor> |
getAll()
Returns the list of all registered interceptors. |
org.apache.directory.shared.ldap.name.LdapDN |
getMatchedName(GetMatchedNameOperationContext opContext)
|
ClonedServerEntry |
getRootDSE(GetRootDSEOperationContext opContext)
|
org.apache.directory.shared.ldap.name.LdapDN |
getSuffix(GetSuffixOperationContext opContext)
|
boolean |
hasEntry(EntryOperationContext opContext)
|
void |
init(DirectoryService directoryService)
Initializes and registers all interceptors according to the specified DirectoryService . |
EntryFilteringCursor |
list(ListOperationContext opContext)
|
java.util.Iterator<java.lang.String> |
listSuffixes(ListSuffixOperationContext opContext)
|
ClonedServerEntry |
lookup(LookupOperationContext opContext)
|
void |
modify(ModifyOperationContext opContext)
|
void |
move(MoveOperationContext opContext)
|
void |
moveAndRename(MoveAndRenameOperationContext opContext)
|
java.lang.String |
remove(java.lang.String interceptorName)
|
void |
removeContextPartition(RemoveContextPartitionOperationContext opContext)
|
void |
rename(RenameOperationContext opContext)
|
EntryFilteringCursor |
search(SearchOperationContext opContext)
|
void |
unbind(UnbindOperationContext opContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterceptorChain()
Method Detail |
---|
public void init(DirectoryService directoryService) throws java.lang.Exception
DirectoryService
.
directoryService
- the directory core
javax.naming.Exception
- if an interceptor cannot be initialized.
java.lang.Exception
public void destroy()
public Interceptor get(java.lang.String interceptorName)
interceptorName
- name of the interceptor to look for
public java.util.List<Interceptor> getAll()
public void addFirst(Interceptor interceptor) throws java.lang.Exception
java.lang.Exception
public void addLast(Interceptor interceptor) throws java.lang.Exception
java.lang.Exception
public void addBefore(java.lang.String nextInterceptorName, Interceptor interceptor) throws java.lang.Exception
java.lang.Exception
public java.lang.String remove(java.lang.String interceptorName) throws java.lang.Exception
java.lang.Exception
public void addAfter(java.lang.String prevInterceptorName, Interceptor interceptor) throws java.lang.Exception
java.lang.Exception
public ClonedServerEntry getRootDSE(GetRootDSEOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public org.apache.directory.shared.ldap.name.LdapDN getMatchedName(GetMatchedNameOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public org.apache.directory.shared.ldap.name.LdapDN getSuffix(GetSuffixOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public boolean compare(CompareOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public java.util.Iterator<java.lang.String> listSuffixes(ListSuffixOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void addContextPartition(AddContextPartitionOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void removeContextPartition(RemoveContextPartitionOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void delete(DeleteOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void add(AddOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void bind(BindOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void unbind(UnbindOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void modify(ModifyOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public EntryFilteringCursor list(ListOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public EntryFilteringCursor search(SearchOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public ClonedServerEntry lookup(LookupOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public boolean hasEntry(EntryOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void rename(RenameOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void move(MoveOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public void moveAndRename(MoveAndRenameOperationContext opContext) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |