org.tynamo.hibernate.v4
Class Hibernate4SessionSourceImpl
java.lang.Object
org.tynamo.hibernate.v4.Hibernate4SessionSourceImpl
- All Implemented Interfaces:
- org.apache.tapestry5.hibernate.HibernateSessionSource
public class Hibernate4SessionSourceImpl
- extends Object
- implements org.apache.tapestry5.hibernate.HibernateSessionSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hibernate4SessionSourceImpl
public Hibernate4SessionSourceImpl(org.slf4j.Logger logger,
List<org.apache.tapestry5.hibernate.HibernateConfigurer> hibernateConfigurers)
listenForShutdown
@PostInjection
public void listenForShutdown(org.apache.tapestry5.ioc.services.RegistryShutdownHub hub)
create
public org.hibernate.Session create()
- Specified by:
create in interface org.apache.tapestry5.hibernate.HibernateSessionSource
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
- Specified by:
getSessionFactory in interface org.apache.tapestry5.hibernate.HibernateSessionSource
getConfiguration
public org.hibernate.cfg.Configuration getConfiguration()
- Specified by:
getConfiguration in interface org.apache.tapestry5.hibernate.HibernateSessionSource
Copyright © 2004-2013. All Rights Reserved.