com.liferay.portal.dao.orm.hibernate
Class SessionFactoryImpl

java.lang.Object
  extended by com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory

public class SessionFactoryImpl
extends java.lang.Object
implements com.liferay.portal.kernel.dao.orm.SessionFactory

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SessionFactoryImpl()
           
 
Method Summary
 void closeSession(com.liferay.portal.kernel.dao.orm.Session session)
           
 com.liferay.portal.kernel.dao.orm.Dialect getDialect()
           
 org.hibernate.engine.SessionFactoryImplementor getSessionFactoryImplementor()
           
 com.liferay.portal.kernel.dao.orm.Session openNewSession(java.sql.Connection connection)
           
 com.liferay.portal.kernel.dao.orm.Session openSession()
           
 void setSessionFactoryClassLoader(java.lang.ClassLoader sessionFactoryClassLoader)
           
 void setSessionFactoryImplementor(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)
           
protected  com.liferay.portal.kernel.dao.orm.Session transformSession(org.hibernate.Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionFactoryImpl

public SessionFactoryImpl()
Method Detail

closeSession

public void closeSession(com.liferay.portal.kernel.dao.orm.Session session)
                  throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
closeSession in interface com.liferay.portal.kernel.dao.orm.SessionFactory
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

getDialect

public com.liferay.portal.kernel.dao.orm.Dialect getDialect()
                                                     throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
getDialect in interface com.liferay.portal.kernel.dao.orm.SessionFactory
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

getSessionFactoryImplementor

public org.hibernate.engine.SessionFactoryImplementor getSessionFactoryImplementor()

openNewSession

public com.liferay.portal.kernel.dao.orm.Session openNewSession(java.sql.Connection connection)
                                                         throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
openNewSession in interface com.liferay.portal.kernel.dao.orm.SessionFactory
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

openSession

public com.liferay.portal.kernel.dao.orm.Session openSession()
                                                      throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
openSession in interface com.liferay.portal.kernel.dao.orm.SessionFactory
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

setSessionFactoryClassLoader

public void setSessionFactoryClassLoader(java.lang.ClassLoader sessionFactoryClassLoader)

setSessionFactoryImplementor

public void setSessionFactoryImplementor(org.hibernate.engine.SessionFactoryImplementor sessionFactoryImplementor)

transformSession

protected com.liferay.portal.kernel.dao.orm.Session transformSession(org.hibernate.Session session)