Package org.springframework.ldap.core
Interface NameClassPairCallbackHandler
-
- All Known Implementing Classes:
AttributesMapperCallbackHandler
,CollectingNameClassPairCallbackHandler
,ContextMapperCallbackHandler
,ContextMapperCallbackHandlerWithControls
,ContextMapperCallbackHandlerWithControls
,CountNameClassPairCallbackHandler
,LdapTemplate.MappingCollectingNameClassPairCallbackHandler
public interface NameClassPairCallbackHandler
Callback interface used byLdapTemplate
search, list and listBindings methods. Implementations of this interface perform the actual work of extracting results from a singleNameClassPair
(aNameClassPair
,Binding
orSearchResult
depending on the search operation) returned by an LDAP seach operation, such as search(), list(), and listBindings().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleNameClassPair(javax.naming.NameClassPair nameClassPair)
Handle one entry.
-
-
-
Method Detail
-
handleNameClassPair
void handleNameClassPair(javax.naming.NameClassPair nameClassPair) throws javax.naming.NamingException
Handle one entry. This method will be called once for each entry returned by a search or list.- Parameters:
nameClassPair
- the NameClassPair returned from theNamingEnumeration
.- Throws:
javax.naming.NamingException
- if an error occurs.
-
-