Package 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);
}
}
-
Method Summary
-
Method Details
-
executeSearch
Execute the actual search.- Parameters:
ctx- theDirContexton which to work.- Returns:
- the
NamingEnumerationresulting from the search operation. - Throws:
NamingException- if the search results in one.
-