|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.core.CollectingNameClassPairCallbackHandler
org.springframework.ldap.core.ContextMapperCallbackHandler
public class 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 | |
|---|---|
ContextMapperCallbackHandler(ContextMapper mapper)
Constructs a new instance wrapping the supplied ContextMapper. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getObjectFromNameClassPair(javax.naming.NameClassPair nameClassPair)
Cast the NameClassPair to a Binding and pass its object to
the ContextMapper. |
| Methods inherited from class org.springframework.ldap.core.CollectingNameClassPairCallbackHandler |
|---|
getList, handleNameClassPair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextMapperCallbackHandler(ContextMapper mapper)
ContextMapper.
mapper - the mapper to be called for each entry.| Method Detail |
|---|
public java.lang.Object getObjectFromNameClassPair(javax.naming.NameClassPair nameClassPair)
Binding and pass its object to
the ContextMapper.
getObjectFromNameClassPair in class CollectingNameClassPairCallbackHandlernameClassPair - a Binding instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||