net.sf.ldaptemplate
Interface SearchExecutor


public interface SearchExecutor

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

 return ctx.search(dn, filter, searchControls);
 

Author:
Mattias Arthursson
See Also:
LdapTemplate.search(SearchExecutor, SearchResultCallbackHandler)

Method Summary
 javax.naming.NamingEnumeration executeSearch(javax.naming.directory.DirContext ctx)
          Execute the actual search.
 

Method Detail

executeSearch

public javax.naming.NamingEnumeration executeSearch(javax.naming.directory.DirContext ctx)
                                             throws javax.naming.NamingException
Execute the actual search.

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


Copyright © 2006 Jayway AB. All Rights Reserved.