net.sf.easyweb4j.repository.orm.hibernate
Class HibernatePersistenceContextManager
java.lang.Object
net.sf.easyweb4j.repository.orm.hibernate.HibernatePersistenceContextManager
- All Implemented Interfaces:
- PersistenceContextManager
public class HibernatePersistenceContextManager
- extends Object
- implements PersistenceContextManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernatePersistenceContextManager
public HibernatePersistenceContextManager()
bindRepositoryToThread
public void bindRepositoryToThread(Repository<?> repository)
- Specified by:
bindRepositoryToThread in interface PersistenceContextManager
ensureTransaction
public void ensureTransaction()
- Specified by:
ensureTransaction in interface PersistenceContextManager
ensureTransaction
public void ensureTransaction(Repository<?> repository)
- Specified by:
ensureTransaction in interface PersistenceContextManager
commitTransaction
public void commitTransaction()
- Specified by:
commitTransaction in interface PersistenceContextManager
rollbackTransaction
public void rollbackTransaction()
- Specified by:
rollbackTransaction in interface PersistenceContextManager
closePersistenceContext
public void closePersistenceContext()
- Specified by:
closePersistenceContext in interface PersistenceContextManager
markAsReadOnly
public void markAsReadOnly()
- Specified by:
markAsReadOnly in interface PersistenceContextManager
Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.