Spring LDAP Framework

org.springframework.ldap
Class PersonContextMapper

java.lang.Object
  extended by org.springframework.ldap.core.support.AbstractContextMapper
      extended by 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

Constructor Summary
PersonContextMapper()
           
 
Method Summary
protected  Object doMapFromContext(DirContextOperations ctx)
          Map a single DirContextOperation to an object.
 
Methods inherited from class org.springframework.ldap.core.support.AbstractContextMapper
mapFromContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonContextMapper

public PersonContextMapper()
Method Detail

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.

Spring LDAP Framework

Copyright © 2006-2009 The Spring LDAP Framework. All Rights Reserved.