Package org.springframework.ldap.core
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 byLdapTemplate
before and after the actual search and enumeration traversal. Implementations may be used to apply search controls on theContext
and retrieve the results of such controls afterwards.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
postProcess(javax.naming.directory.DirContext ctx)
Perform post-processing on the suppliedDirContext
.void
preProcess(javax.naming.directory.DirContext ctx)
Perform pre-processing on the supplied DirContext.
-
-
-
Method Detail
-
preProcess
void preProcess(javax.naming.directory.DirContext ctx) throws javax.naming.NamingException
Perform pre-processing on the supplied DirContext.- Parameters:
ctx
- theDirContext
instance.- Throws:
javax.naming.NamingException
- if thrown by the underlying operation.
-
postProcess
void postProcess(javax.naming.directory.DirContext ctx) throws javax.naming.NamingException
Perform post-processing on the suppliedDirContext
.- Parameters:
ctx
- theDirContext
instance.- Throws:
javax.naming.NamingException
- if thrown by the underlying operation.
-
-