Package org.n52.series.db.old
Class SeriesHibernateSessionHolder
- java.lang.Object
-
- org.n52.series.db.old.SeriesHibernateSessionHolder
-
- All Implemented Interfaces:
HibernateSessionStore
@Component @Transactional public class SeriesHibernateSessionHolder extends Object implements HibernateSessionStore
-
-
Constructor Summary
Constructors Constructor Description SeriesHibernateSessionHolder(javax.persistence.EntityManager entityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.SessiongetSession()voidreturnSession(org.hibernate.Session session)voidshutdown()
-
-
-
Method Detail
-
getSession
public org.hibernate.Session getSession()
- Specified by:
getSessionin interfaceHibernateSessionStore
-
returnSession
public void returnSession(org.hibernate.Session session)
- Specified by:
returnSessionin interfaceHibernateSessionStore
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceHibernateSessionStore
-
-