public class InterceptorChain extends Object
Interceptor
s.Constructor and Description |
---|
InterceptorChain()
Create a new interceptor chain.
|
Modifier and Type | Method and Description |
---|---|
void |
add(AddOperationContext opContext) |
void |
addAfter(String prevInterceptorName,
Interceptor interceptor) |
void |
addBefore(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(String interceptorName)
Returns the registered interceptor with the specified name.
|
List<Interceptor> |
getAll()
Returns the list of all registered interceptors.
|
org.apache.directory.shared.ldap.name.DN |
getMatchedName(GetMatchedNameOperationContext opContext) |
ClonedServerEntry |
getRootDSE(GetRootDSEOperationContext opContext) |
org.apache.directory.shared.ldap.name.DN |
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) |
Set<String> |
listSuffixes(ListSuffixOperationContext opContext) |
ClonedServerEntry |
lookup(LookupOperationContext opContext) |
void |
modify(ModifyOperationContext opContext) |
void |
move(MoveOperationContext opContext) |
void |
moveAndRename(MoveAndRenameOperationContext opContext) |
String |
remove(String interceptorName) |
void |
removeContextPartition(RemoveContextPartitionOperationContext opContext) |
void |
rename(RenameOperationContext opContext) |
EntryFilteringCursor |
search(SearchOperationContext opContext) |
void |
unbind(UnbindOperationContext opContext) |
public void init(DirectoryService directoryService) throws Exception
DirectoryService
.directoryService
- the directory corejavax.naming.Exception
- if an interceptor cannot be initialized.Exception
public void destroy()
public Interceptor get(String interceptorName)
interceptorName
- name of the interceptor to look forpublic List<Interceptor> getAll()
public void addFirst(Interceptor interceptor) throws Exception
Exception
public void addLast(Interceptor interceptor) throws Exception
Exception
public void addBefore(String nextInterceptorName, Interceptor interceptor) throws Exception
Exception
public void addAfter(String prevInterceptorName, Interceptor interceptor) throws Exception
Exception
public ClonedServerEntry getRootDSE(GetRootDSEOperationContext opContext) throws Exception
Exception
public org.apache.directory.shared.ldap.name.DN getMatchedName(GetMatchedNameOperationContext opContext) throws Exception
Exception
public org.apache.directory.shared.ldap.name.DN getSuffix(GetSuffixOperationContext opContext) throws Exception
Exception
public boolean compare(CompareOperationContext opContext) throws Exception
Exception
public Set<String> listSuffixes(ListSuffixOperationContext opContext) throws Exception
Exception
public void addContextPartition(AddContextPartitionOperationContext opContext) throws Exception
Exception
public void removeContextPartition(RemoveContextPartitionOperationContext opContext) throws Exception
Exception
public void delete(DeleteOperationContext opContext) throws Exception
Exception
public void add(AddOperationContext opContext) throws Exception
Exception
public void bind(BindOperationContext opContext) throws Exception
Exception
public void unbind(UnbindOperationContext opContext) throws Exception
Exception
public void modify(ModifyOperationContext opContext) throws Exception
Exception
public EntryFilteringCursor list(ListOperationContext opContext) throws Exception
Exception
public EntryFilteringCursor search(SearchOperationContext opContext) throws Exception
Exception
public ClonedServerEntry lookup(LookupOperationContext opContext) throws Exception
Exception
public boolean hasEntry(EntryOperationContext opContext) throws Exception
Exception
public void rename(RenameOperationContext opContext) throws Exception
Exception
public void move(MoveOperationContext opContext) throws Exception
Exception
public void moveAndRename(MoveAndRenameOperationContext opContext) throws Exception
Exception
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.