Interface LDAPUserRegistry.SearchCallback
-
- All Known Implementing Classes:
LDAPUserRegistry.AbstractSearchCallback
- Enclosing class:
- LDAPUserRegistry
protected static interface LDAPUserRegistry.SearchCallbackAn interface for callbacks passed to theLDAPUserRegistry.processQuery(SearchCallback, String, String, String[])method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Release any resources held by the callback.voidprocess(javax.naming.directory.SearchResult result)Processes the given search result.
-
-
-
Method Detail
-
process
void process(javax.naming.directory.SearchResult result) throws javax.naming.NamingException, java.text.ParseExceptionProcesses the given search result.- Parameters:
result- the result- Throws:
javax.naming.NamingException- on naming exceptionsjava.text.ParseException- on parse exceptions
-
close
void close() throws javax.naming.NamingExceptionRelease any resources held by the callback.- Throws:
javax.naming.NamingException- the naming exception
-
-