Liferay 7.0-ce-m2

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, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware

public class PortletSessionFactoryImpl
extends SessionFactoryImpl
implements org.springframework.beans.factory.BeanFactoryAware


Constructor Summary
PortletSessionFactoryImpl()
           
 
Method Summary
 void closeSession(Session session)
           
protected  org.hibernate.SessionFactory createSessionFactory(DataSource dataSource)
           
protected  org.springframework.beans.factory.BeanFactory getBeanFactory()
           
protected  DataSource getDataSource()
           
protected  org.hibernate.SessionFactory getSessionFactory()
           
protected  org.hibernate.SessionFactory getSessionFactory(DataSource dataSource)
           
 Session openSession()
           
protected  void putSessionFactory(DataSource dataSource, org.hibernate.SessionFactory sessionFactory)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setDataSource(DataSource dataSource)
           
protected  Session wrapSession(org.hibernate.Session session)
           
 
Methods inherited from class com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
getCurrentSession, getDialect, 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

closeSession

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

openSession

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

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException

setDataSource

public void setDataSource(DataSource dataSource)

createSessionFactory

protected org.hibernate.SessionFactory createSessionFactory(DataSource dataSource)

getBeanFactory

protected org.springframework.beans.factory.BeanFactory getBeanFactory()

getDataSource

protected DataSource getDataSource()

getSessionFactory

protected org.hibernate.SessionFactory getSessionFactory()

getSessionFactory

protected org.hibernate.SessionFactory getSessionFactory(DataSource dataSource)

putSessionFactory

protected void putSessionFactory(DataSource dataSource,
                                 org.hibernate.SessionFactory sessionFactory)

wrapSession

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

Liferay 7.0-ce-m2