站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

PersistenceManagerHolder (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.orm.jdo
Class PersistenceManagerHolder

java.lang.Object
  extended by org.springframework.transaction.support.ResourceHolderSupport
      extended by org.springframework.orm.jdo.PersistenceManagerHolder

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.

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

Constructor Summary
PersistenceManagerHolder(javax.jdo.PersistenceManager persistenceManager)
          Create a new PersistenceManagerHolder for the given JDO PersistenceManager.
 
Method Summary
 javax.jdo.PersistenceManager getPersistenceManager()
          Return this holder's JDO PersistenceManager.
 
Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds
 
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)
Create a new PersistenceManagerHolder for the given JDO PersistenceManager.

Parameters:
persistenceManager - the JDO PersistenceManager
Method Detail

getPersistenceManager

public javax.jdo.PersistenceManager getPersistenceManager()
Return this holder's JDO PersistenceManager.



Copyright (c) 2002-2007 The Spring Framework Project.