Package com.xpn.xwiki.store.hibernate
Class DefaultHibernateSessionFactory
- java.lang.Object
-
- com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory
-
- All Implemented Interfaces:
HibernateSessionFactory
@Component @Singleton @Deprecated public class DefaultHibernateSessionFactory extends Object implements HibernateSessionFactory
Deprecated.since 11.5RC1Default implementation forHibernateSessionFactory
.- Since:
- 2.0M1
- Version:
- $Id: b566faaefa6bb39a37c003edc210e01ee981337b $
-
-
Constructor Summary
Constructors Constructor Description DefaultHibernateSessionFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.hibernate.cfg.Configuration
getConfiguration()
Deprecated.org.hibernate.SessionFactory
getSessionFactory()
Deprecated.void
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Deprecated.
-
-
-
Method Detail
-
getConfiguration
public org.hibernate.cfg.Configuration getConfiguration()
Deprecated.- Specified by:
getConfiguration
in interfaceHibernateSessionFactory
- Returns:
- Hibernate Configuration object
-
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
Deprecated.- Specified by:
getSessionFactory
in interfaceHibernateSessionFactory
- Returns:
- Real Hibernate session factory
-
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Deprecated.- Specified by:
setSessionFactory
in interfaceHibernateSessionFactory
-
-