org.cyclopsgroup.doorman.service.hibernate
Class HibernateDAOFactory
java.lang.Object
org.cyclopsgroup.doorman.service.hibernate.HibernateDAOFactory
- All Implemented Interfaces:
- DAOFactory
@Service(value="doormanHibernateDAOFactory")
public class HibernateDAOFactory
- extends Object
- implements DAOFactory
DAO factory that creates Hibernate DAOs
- Author:
- Jiaqi Guo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateDAOFactory
public HibernateDAOFactory(org.hibernate.SessionFactory sessionFactory)
- Parameters:
sessionFactory - Hibernate session factory
createUserDAO
public UserDAO createUserDAO()
- Specified by:
createUserDAO in interface DAOFactory
- Returns:
- Instance of DAO for
StoredUser and StoredUserSignUpRequest
createUserSessionDAO
public UserSessionDAO createUserSessionDAO()
- Specified by:
createUserSessionDAO in interface DAOFactory
- Returns:
- Instance of DAO for
StoredUserSession
Copyright © 2010-2012. All Rights Reserved.