

package gov.va.med.cds.ars.persistence;



import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.SessionFactory;


public abstract class AbstractHibernatePersistenceManager
    extends
        AbstractPersistenceManager
{

    protected static final Log LOGGER = LogFactory.getLog( AbstractHibernatePersistenceManager.class );
    protected SessionFactory sessionFactory;


    /**
     * Loads the session factory on start-up as directed by Spring injection.
     * 
     * @param sessionFactory session factory passed in from spring injection.
     */
    final public void setSessionFactory( SessionFactory sessionFactory )
    {
        this.sessionFactory = sessionFactory;
    }

}
