|
spring-orm | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.transaction.support.ResourceHolderSupport
org.springframework.orm.jdo.PersistenceManagerHolder
public class PersistenceManagerHolder
Holder wrapping a JDO PersistenceManager. JdoTransactionManager binds instances of this class to the thread, for a given PersistenceManagerFactory.
Note: This is an SPI class, not intended to be used by applications.
JdoTransactionManager
,
PersistenceManagerFactoryUtils
Constructor Summary | |
---|---|
PersistenceManagerHolder(javax.jdo.PersistenceManager persistenceManager)
|
Method Summary | |
---|---|
void |
clear()
|
javax.jdo.PersistenceManager |
getPersistenceManager()
|
protected boolean |
isTransactionActive()
|
protected void |
setTransactionActive(boolean transactionActive)
|
Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport |
---|
getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceManagerHolder(javax.jdo.PersistenceManager persistenceManager)
Method Detail |
---|
public javax.jdo.PersistenceManager getPersistenceManager()
protected void setTransactionActive(boolean transactionActive)
protected boolean isTransactionActive()
public void clear()
clear
in class org.springframework.transaction.support.ResourceHolderSupport
|
spring-orm | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |