org.perfectjpattern.jee.integration.dao.spring
Class LocalDaoFactory
java.lang.Object
org.perfectjpattern.jee.integration.dao.AbstractDaoFactory
org.perfectjpattern.jee.integration.dao.HibernateDaoFactory
org.perfectjpattern.jee.integration.dao.spring.LocalDaoFactory
- All Implemented Interfaces:
- IAbstractFactory, ISingleton, IBaseDaoFactory, IGenericDaoFactory
public final class LocalDaoFactory
- extends HibernateDaoFactory
Extends HibernateDaoFactory
exposing project-local specific
implementations injected via IoC. This implementation was introduced
to support the Spring Generic DAO example implementation.
- Version:
- $ $Date: Dec 8, 2008 3:35:51 AM $
- Author:
- Giovanni Azua
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalDaoFactory
public LocalDaoFactory()
getInstance
public static LocalDaoFactory getInstance()
- Returns Singleton instance of
LocalDaoFactory
- Returns:
- Singleton instance of
LocalDaoFactory
createCustomerDao
public final ICustomerDao createCustomerDao()
- Returns the personDao
- Returns:
- the personDao
setCustomerDao
public final void setCustomerDao(ICustomerDao aCustomerDao)
- Sets the personDao
- Parameters:
aCustomerDao
- the personDao to set
Copyright © 2007-2009. All Rights Reserved.