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 Type
    Method
    Description
    void
    Perform post-processing on the supplied DirContext.
    void
    Perform pre-processing on the supplied DirContext.
  • Method Details

    • preProcess

      void preProcess(DirContext ctx) throws NamingException
      Perform pre-processing on the supplied DirContext.
      Parameters:
      ctx - the DirContext instance.
      Throws:
      NamingException - if thrown by the underlying operation.
    • postProcess

      void postProcess(DirContext ctx) throws NamingException
      Perform post-processing on the supplied DirContext.
      Parameters:
      ctx - the DirContext instance.
      Throws:
      NamingException - if thrown by the underlying operation.