org.codehaus.groovy.grails.orm.hibernate
Class SessionFactoryHolder
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEAN_ID
public static final java.lang.String BEAN_ID
- See Also:
- Constant Field Values
SessionFactoryHolder
public SessionFactoryHolder()
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)