org.springframework.ldap.core
Interface DirContextProcessor

All Known Implementing Classes:
AbstractRequestControlDirContextProcessor, AggregateDirContextProcessor, PagedResultsRequestControl, SortControlDirContextProcessor

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.

Author:
Mattias Arthursson, Ulrik Sandberg

Method Summary
 void postProcess(javax.naming.directory.DirContext ctx)
          Perform post-processing on the supplied DirContext.
 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 - the DirContext 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 supplied DirContext.

Parameters:
ctx - the DirContext instance.
Throws:
javax.naming.NamingException - if thrown by the underlying operation.


Copyright � 2002-2006. All Rights Reserved.