uk.ac.soton.itinnovation.grid.service.sla.utils
Class HibernateUtils

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.sla.utils.HibernateUtils

public class HibernateUtils
extends Object

Strategy for getting the curent session.


Constructor Summary
HibernateUtils()
           
 
Method Summary
static org.hibernate.Session getCurrentSession()
           
static void setSessionFactory(org.hibernate.SessionFactory sf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateUtils

public HibernateUtils()
Method Detail

getCurrentSession

public static org.hibernate.Session getCurrentSession()

setSessionFactory

public static void setSessionFactory(org.hibernate.SessionFactory sf)


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.