org.codehaus.groovy.grails.orm.hibernate
Class SessionFactoryHolder

java.lang.Object
  extended by org.codehaus.groovy.grails.orm.hibernate.SessionFactoryHolder

public class SessionFactoryHolder
extends java.lang.Object

Holds a reference to the SessionFactory, used to allow proxying of the session factory in development mode.

Since:
2.0

Field Summary
static java.lang.String BEAN_ID
           
 
Constructor Summary
SessionFactoryHolder()
           
 
Method Summary
 org.hibernate.SessionFactory getSessionFactory()
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_ID

public static final java.lang.String BEAN_ID
See Also:
Constant Field Values
Constructor Detail

SessionFactoryHolder

public SessionFactoryHolder()
Method Detail

getSessionFactory

public org.hibernate.SessionFactory getSessionFactory()

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)