net.sf.easyweb4j.repository.orm.jpa
Class JPAPersistenceContextManager
java.lang.Object
  
net.sf.easyweb4j.repository.orm.jpa.JPAPersistenceContextManager
- All Implemented Interfaces: 
 - PersistenceContextManager
 
public class JPAPersistenceContextManager
- extends Object
- implements PersistenceContextManager
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JPAPersistenceContextManager
public JPAPersistenceContextManager()
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.