public class InterceptorChain extends Object
Interceptors.| Constructor and Description |
|---|
InterceptorChain()
Create a new interceptor chain.
|
public void init(DirectoryService directoryService) throws Exception
DirectoryService.directoryService - the directory corejavax.naming.Exception - if an interceptor cannot be initialized.Exceptionpublic 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
Exceptionpublic void addLast(Interceptor interceptor) throws Exception
Exceptionpublic void addBefore(String nextInterceptorName, Interceptor interceptor) throws Exception
Exceptionpublic void addAfter(String prevInterceptorName, Interceptor interceptor) throws Exception
Exceptionpublic ClonedServerEntry getRootDSE(GetRootDSEOperationContext opContext) throws Exception
Exceptionpublic org.apache.directory.shared.ldap.name.DN getMatchedName(GetMatchedNameOperationContext opContext) throws Exception
Exceptionpublic org.apache.directory.shared.ldap.name.DN getSuffix(GetSuffixOperationContext opContext) throws Exception
Exceptionpublic boolean compare(CompareOperationContext opContext) throws Exception
Exceptionpublic Set<String> listSuffixes(ListSuffixOperationContext opContext) throws Exception
Exceptionpublic void addContextPartition(AddContextPartitionOperationContext opContext) throws Exception
Exceptionpublic void removeContextPartition(RemoveContextPartitionOperationContext opContext) throws Exception
Exceptionpublic void delete(DeleteOperationContext opContext) throws Exception
Exceptionpublic void add(AddOperationContext opContext) throws Exception
Exceptionpublic void bind(BindOperationContext opContext) throws Exception
Exceptionpublic void unbind(UnbindOperationContext opContext) throws Exception
Exceptionpublic void modify(ModifyOperationContext opContext) throws Exception
Exceptionpublic EntryFilteringCursor list(ListOperationContext opContext) throws Exception
Exceptionpublic EntryFilteringCursor search(SearchOperationContext opContext) throws Exception
Exceptionpublic ClonedServerEntry lookup(LookupOperationContext opContext) throws Exception
Exceptionpublic boolean hasEntry(EntryOperationContext opContext) throws Exception
Exceptionpublic void rename(RenameOperationContext opContext) throws Exception
Exceptionpublic void move(MoveOperationContext opContext) throws Exception
Exceptionpublic void moveAndRename(MoveAndRenameOperationContext opContext) throws Exception
ExceptionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.