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)
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.
Copyright © 2005-2010 The Spring LDAP Framework. All Rights Reserved.