Package org.springframework.ldap.core
Interface DirContextProcessor
-
- All Known Implementing Classes:
AbstractFallbackRequestAndResponseControlDirContextProcessor,AbstractRequestControlDirContextProcessor,AggregateDirContextProcessor,LdapTemplate.NullDirContextProcessor,PagedResultsDirContextProcessor,PagedResultsRequestControl,SortControlDirContextProcessor
public interface DirContextProcessorInterface to be called in search byLdapTemplatebefore and after the actual search and enumeration traversal. Implementations may be used to apply search controls on theContextand retrieve the results of such controls afterwards.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpostProcess(javax.naming.directory.DirContext ctx)Perform post-processing on the suppliedDirContext.voidpreProcess(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.NamingExceptionPerform pre-processing on the supplied DirContext.- Parameters:
ctx- theDirContextinstance.- Throws:
javax.naming.NamingException- if thrown by the underlying operation.
-
postProcess
void postProcess(javax.naming.directory.DirContext ctx) throws javax.naming.NamingExceptionPerform post-processing on the suppliedDirContext.- Parameters:
ctx- theDirContextinstance.- Throws:
javax.naming.NamingException- if thrown by the underlying operation.
-
-