com.liferay.portal.dao.orm.hibernate
Class PortletSessionFactoryImpl
java.lang.Object
com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory
public class PortletSessionFactoryImpl
- extends SessionFactoryImpl
- Author:
- Shuyang Zhou, Alexander Chow
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletSessionFactoryImpl
public PortletSessionFactoryImpl()
afterPropertiesSet
public void afterPropertiesSet()
destroy
public void destroy()
- Overrides:
destroy in class SessionFactoryImpl
getDataSource
public javax.sql.DataSource getDataSource()
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- Overrides:
openSession in class SessionFactoryImpl
- Throws:
com.liferay.portal.kernel.dao.orm.ORMException
setDataSource
public void setDataSource(javax.sql.DataSource dataSource)
getSessionFactory
protected org.hibernate.SessionFactory getSessionFactory()