Liferay 6.2-ce-ga5

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

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

public class PortletSessionFactoryImpl
extends SessionFactoryImpl


Field Summary
 
Fields inherited from class com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
portletSessionFactories
 
Constructor Summary
PortletSessionFactoryImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void closeSession(Session session)
           
 void destroy()
           
 DataSource getDataSource()
           
protected  org.hibernate.SessionFactory getSessionFactory()
           
 Session openSession()
           
 void setDataSource(DataSource dataSource)
           
protected  Session wrapSession(org.hibernate.Session session)
           
 
Methods inherited from class com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
getCurrentSession, getDialect, getPortletSessionFactories, getPreloadClassLoaderClasses, getSessionFactoryClassLoader, getSessionFactoryImplementor, openNewSession, setSessionFactoryClassLoader, setSessionFactoryImplementor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletSessionFactoryImpl

public PortletSessionFactoryImpl()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

closeSession

public void closeSession(Session session)
                  throws ORMException
Specified by:
closeSession in interface SessionFactory
Overrides:
closeSession in class SessionFactoryImpl
Throws:
ORMException

destroy

public void destroy()
Overrides:
destroy in class SessionFactoryImpl

getDataSource

public DataSource getDataSource()

openSession

public Session openSession()
                    throws ORMException
Specified by:
openSession in interface SessionFactory
Overrides:
openSession in class SessionFactoryImpl
Throws:
ORMException

setDataSource

public void setDataSource(DataSource dataSource)

getSessionFactory

protected org.hibernate.SessionFactory getSessionFactory()

wrapSession

protected Session wrapSession(org.hibernate.Session session)
Overrides:
wrapSession in class SessionFactoryImpl

Liferay 6.2-ce-ga5