Interface DirContextProcessor
- All Known Implementing Classes:
AbstractFallbackRequestAndResponseControlDirContextProcessor, AbstractRequestControlDirContextProcessor, AggregateDirContextProcessor, LdapTemplate.NullDirContextProcessor, PagedResultsDirContextProcessor, PagedResultsRequestControl, SortControlDirContextProcessor, VirtualListViewControlAggregateDirContextProcessor, VirtualListViewControlDirContextProcessor
public interface DirContextProcessor
Interface to be called in search by
LdapTemplate before and after the actual
search and enumeration traversal. Implementations may be used to apply search controls
on the Context and retrieve the results of such controls afterwards.-
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcess(DirContext ctx) Perform post-processing on the suppliedDirContext.voidpreProcess(DirContext ctx) Perform pre-processing on the supplied DirContext.
-
Method Details
-
preProcess
Perform pre-processing on the supplied DirContext.- Parameters:
ctx- theDirContextinstance.- Throws:
NamingException- if thrown by the underlying operation.
-
postProcess
Perform post-processing on the suppliedDirContext.- Parameters:
ctx- theDirContextinstance.- Throws:
NamingException- if thrown by the underlying operation.
-