Package org.springframework.ldap.core
Class LdapTemplate.MappingCollectingNameClassPairCallbackHandler<T>
java.lang.Object
org.springframework.ldap.core.CollectingNameClassPairCallbackHandler<T>
org.springframework.ldap.core.LdapTemplate.MappingCollectingNameClassPairCallbackHandler<T>
- All Implemented Interfaces:
NameClassPairCallbackHandler
- Enclosing class:
- LdapTemplate
public static final class LdapTemplate.MappingCollectingNameClassPairCallbackHandler<T>
extends CollectingNameClassPairCallbackHandler<T>
A
NameClassPairCallbackHandler
that passes the NameClassPairs found to a
NameClassPairMapper and collects the results in a list.-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetObjectFromNameClassPair
(NameClassPair nameClassPair) Handle a NameClassPair and transform it to an Object of the desired type and with data from the NameClassPair.Methods inherited from class org.springframework.ldap.core.CollectingNameClassPairCallbackHandler
getList, handleNameClassPair
-
Constructor Details
-
MappingCollectingNameClassPairCallbackHandler
-
-
Method Details
-
getObjectFromNameClassPair
Handle a NameClassPair and transform it to an Object of the desired type and with data from the NameClassPair.- Specified by:
getObjectFromNameClassPair
in classCollectingNameClassPairCallbackHandler<T>
- Parameters:
nameClassPair
- a NameClassPair from a search operation.- Returns:
- an object constructed from the data in the NameClassPair.
-