org.springframework.ldap.samples.person.dao
Class CountryDaoImpl
java.lang.Object
org.springframework.ldap.samples.person.dao.CountryDaoImpl
- All Implemented Interfaces:
- CountryDao
public class CountryDaoImpl
- extends Object
- implements CountryDao
Default implementation of CountryDao. This implementation uses
DirContextOperations (DirContextAdapter really, but for mock testing purposes
we use the interface) for managing attribute values. It has been specified in
the Spring Context that the DirObjectFactory should be used when creating
objects from contexts, which defaults to creating DirContextAdapter objects.
This means that we can use a ContextMapper to map from the found contexts to
our domain objects.
- Author:
- Ulrik Sandberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountryDaoImpl
public CountryDaoImpl()
findAll
public List findAll()
- Specified by:
findAll
in interface CountryDao
setLdapOperations
public void setLdapOperations(LdapOperations ldapOperations)
Copyright © 2006-2009 Spring Framework. All Rights Reserved.