类 PersistenceManagerHolder
- java.lang.Object
- org.springframework.transaction.support.ResourceHolderSupport
- org.springframework.orm.jdo.PersistenceManagerHolder
- 所有已实现的接口:
ResourceHolder
public class PersistenceManagerHolder extends ResourceHolderSupport
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.
- 从以下版本开始:
- 03.06.2003
- 作者:
- Juergen Hoeller
- 另请参阅:
JdoTransactionManager,PersistenceManagerFactoryUtils
构造器概要
构造器 构造器 说明 PersistenceManagerHolder(javax.jdo.PersistenceManager persistenceManager)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclear()Clear the transactional state of this resource holder.javax.jdo.PersistenceManagergetPersistenceManager()protected booleanisTransactionActive()protected voidsetTransactionActive(boolean transactionActive)从类继承的方法 org.springframework.transaction.support.ResourceHolderSupport
getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound
构造器详细资料
PersistenceManagerHolder
public PersistenceManagerHolder(javax.jdo.PersistenceManager persistenceManager)
方法详细资料
getPersistenceManager
public javax.jdo.PersistenceManager getPersistenceManager()
setTransactionActive
protected void setTransactionActive(boolean transactionActive)
isTransactionActive
protected boolean isTransactionActive()
clear
public void clear()
从类复制的说明:ResourceHolderSupportClear the transactional state of this resource holder.- 覆盖:
clear在类中ResourceHolderSupport