ch.busyboxes.agoo.dao.impl
Class AbstractHibernateDAO

java.lang.Object
  extended by ch.busyboxes.agoo.dao.impl.AbstractHibernateDAO
Direct Known Subclasses:
WatchedFileDAOImpl, WatchedFolderDAOImpl, WatcherTaskDAOImpl

public abstract class AbstractHibernateDAO
extends java.lang.Object

Abstract class for DAOs

Author:
julien@busyboxes.ch

Field Summary
protected  org.springframework.orm.hibernate3.HibernateTemplate hibernateTemplate
          Spring hibernate facility
 
Constructor Summary
AbstractHibernateDAO()
           
 
Method Summary
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
          Sets the Hibernate session factory to be used by this DAO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hibernateTemplate

protected org.springframework.orm.hibernate3.HibernateTemplate hibernateTemplate
Spring hibernate facility

Constructor Detail

AbstractHibernateDAO

public AbstractHibernateDAO()
Method Detail

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Sets the Hibernate session factory to be used by this DAO

Parameters:
sessionFactory - the Hibernate session Factory


Copyright © 2009. All Rights Reserved.