public class ContextMapperCallbackHandler extends CollectingNameClassPairCallbackHandler
Binding
, and then passed to
the specified ContextMapper for translation.Constructor and Description |
---|
ContextMapperCallbackHandler(ContextMapper mapper)
Constructs a new instance wrapping the supplied
ContextMapper . |
Modifier and Type | Method and Description |
---|---|
Object |
getObjectFromNameClassPair(NameClassPair nameClassPair)
Cast the NameClassPair to a
Binding and pass its object to
the ContextMapper. |
getList, handleNameClassPair
public ContextMapperCallbackHandler(ContextMapper mapper)
ContextMapper
.mapper
- the mapper to be called for each entry.public Object getObjectFromNameClassPair(NameClassPair nameClassPair)
Binding
and pass its object to
the ContextMapper.getObjectFromNameClassPair
in class CollectingNameClassPairCallbackHandler
nameClassPair
- a Binding instance.Copyright © 2005-2012 The Spring LDAP Framework. All Rights Reserved.