com.interface21.orm.jdo
Class PersistenceManagerHolder

java.lang.Object
  |
  +--com.interface21.orm.jdo.PersistenceManagerHolder

public class PersistenceManagerHolder
extends java.lang.Object

Holder wrapping a JDO PersistenceManager. Features rollback-only support for nested JDO transactions.

JdoTransactionManager binds instances of this class to the thread, for a given PersistenceManagerFactory.

Since:
03.06.2003
Author:
Juergen Hoeller
See Also:
JdoTransactionManager, PersistenceManagerFactoryUtils

Constructor Summary
PersistenceManagerHolder(javax.jdo.PersistenceManager persistenceManager)
           
 
Method Summary
 javax.jdo.PersistenceManager getPersistenceManager()
           
 boolean isRollbackOnly()
           
 void setRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceManagerHolder

public PersistenceManagerHolder(javax.jdo.PersistenceManager persistenceManager)
Method Detail

getPersistenceManager

public javax.jdo.PersistenceManager getPersistenceManager()

setRollbackOnly

public void setRollbackOnly()

isRollbackOnly

public boolean isRollbackOnly()


Rod Johnson and Spring contributors 2001-2003.