org.springframework.ldap.core

## Interface SearchExecutor

-     public interface SearchExecutor

  Interface for delegating an actual search operation. The typical implementation of executeSearch would be something like:

       SearchExecutor executor = new SearchExecutor(){
         public NamingEnumeration executeSearch(DirContext ctx) throws NamingException{
           return ctx.search(dn, filter, searchControls);
         }
       }

  Author:
    Mattias Hellborg Arthursson
  See Also:
    `LdapTemplate.search(SearchExecutor, NameClassPairCallbackHandler)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `NamingEnumeration` | `executeSearch(DirContext ctx)` Execute the actual search.

- - ### Method Detail

    - #### executeSearch

          NamingEnumeration executeSearch(DirContext ctx)
                                   throws NamingException

      Execute the actual search.
      Parameters:
        `ctx` - the `DirContext` on which to work.
      Returns:
        the `NamingEnumeration` resulting from the search operation.
      Throws:
        `NamingException` - if the search results in one.