|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.CollectingNameClassPairCallbackHandler
org.springframework.ldap.LdapTemplate.ContextMapperCallbackHandler
public class LdapTemplate.ContextMapperCallbackHandler
A CollectingNameClassPairCallbackHandler to wrap a ContextMapper. That
is, the found object is extracted from each Binding, and then
passed to the specified ContextMapper for translation.
| Constructor Summary | |
|---|---|
LdapTemplate.ContextMapperCallbackHandler(ContextMapper mapper)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getObjectFromNameClassPair(javax.naming.NameClassPair nameClassPair)
Cast the NameClassPair to a Binding and pass its attributes
to the ContextMapper. |
| Methods inherited from class org.springframework.ldap.CollectingNameClassPairCallbackHandler |
|---|
getList, handleNameClassPair |
| 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 |
|---|
public java.lang.Object getObjectFromNameClassPair(javax.naming.NameClassPair nameClassPair)
Binding and pass its attributes
to the ContextMapper.
getObjectFromNameClassPair in class CollectingNameClassPairCallbackHandlernameClassPair - a SearchResult instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||