com.atlassian.bamboo.persistence3
Class SpringPluginHibernateSessionFactory

java.lang.Object
  extended by com.atlassian.bamboo.persistence3.SpringPluginHibernateSessionFactory
All Implemented Interfaces:
PluginHibernateSessionFactory

public class SpringPluginHibernateSessionFactory
extends java.lang.Object
implements PluginHibernateSessionFactory


Constructor Summary
SpringPluginHibernateSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
           
 
Method Summary
 net.sf.hibernate.Session getSession()
          Gets the current Hibernate session, may create a new one if needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringPluginHibernateSessionFactory

public SpringPluginHibernateSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
Method Detail

getSession

@NotNull
public net.sf.hibernate.Session getSession()
Description copied from interface: PluginHibernateSessionFactory
Gets the current Hibernate session, may create a new one if needed.

Specified by:
getSession in interface PluginHibernateSessionFactory
Returns:
the current Hibernate session


Copyright © 2011 Atlassian. All Rights Reserved.