org.springframework.ldap
Interface DirContextProcessor

All Known Implementing Classes:
AbstractRequestControlDirContextProcessor, AggregateDirContextProcessor, PagedResultsRequestControl

public interface DirContextProcessor

Interface to be called in search by LdapTemplate before and after the actual search and enumeration traversal.

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.