|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ldaptemplate.CollectingSearchResultCallbackHandler net.sf.ldaptemplate.LdapTemplate.ContextMapperCallbackHandler
A CollectingSearchResultCallbackHandler to wrap a ContextMapper. That is, the found objects are extracted from all SearchResults, and then passed to the specified ContextMapper for translation.
Constructor Summary | |
LdapTemplate.ContextMapperCallbackHandler(ContextMapper mapper)
|
Method Summary | |
protected java.lang.Object |
getObjectFromResult(javax.naming.directory.SearchResult searchResult)
Handle a single search result and transform it to an Object. |
Methods inherited from class net.sf.ldaptemplate.CollectingSearchResultCallbackHandler |
getList, handleSearchResult |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LdapTemplate.ContextMapperCallbackHandler(ContextMapper mapper)
Method Detail |
protected java.lang.Object getObjectFromResult(javax.naming.directory.SearchResult searchResult)
CollectingSearchResultCallbackHandler
getObjectFromResult
in class CollectingSearchResultCallbackHandler
searchResult
- a SearchResult from a search operation.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |