org.springframework.ldap
Class PersonContextMapper
java.lang.Object
org.springframework.ldap.core.support.AbstractContextMapper
org.springframework.ldap.PersonContextMapper
- All Implemented Interfaces:
- ContextMapper
public class PersonContextMapper
- extends AbstractContextMapper
Dummy implemention of ContextMapper for use in the integration tests and for
illustration purposes.
- Author:
- Mattias Hellborg Arthursson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonContextMapper
public PersonContextMapper()
doMapFromContext
protected Object doMapFromContext(DirContextOperations ctx)
- Description copied from class:
AbstractContextMapper
- Map a single
DirContextOperation
to an object. The
supplied instance is the object supplied to
AbstractContextMapper.mapFromContext(Object)
cast to a
DirContextOperations
.
- Specified by:
doMapFromContext
in class AbstractContextMapper
- Parameters:
ctx
- the context to map to an object.
- Returns:
- an object built from the data in the context.
Copyright © 2006-2009 The Spring LDAP Framework. All Rights Reserved.