当前页面:
在线文档首页 >
Spring Framework 1.2.9 API 文档英文版
PersistenceBrokerHolder (Spring Framework) - Spring Framework 1.2.9 API 文档英文版
org.springframework.orm.ojb
Class PersistenceBrokerHolder
java.lang.Object
org.springframework.transaction.support.ResourceHolderSupport
org.springframework.orm.ojb.PersistenceBrokerHolder
public class PersistenceBrokerHolder
- extends ResourceHolderSupport
Holder wrapping an OJB PersistenceBroker.
PersistenceBrokerTransactionManager binds instances of this class
to the thread, for a given PBKey.
Note: This is an SPI class, not intended to be used by applications.
- Since:
- 1.1
- Author:
- Juergen Hoeller
- See Also:
PersistenceBrokerTransactionManager
,
OjbFactoryUtils
Constructor Summary |
PersistenceBrokerHolder(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
Create a new PersistenceBrokerHolder for the given OJB PersistenceBroker. |
Method Summary |
org.apache.ojb.broker.PersistenceBroker |
getPersistenceBroker()
Return this holder's OJB PersistenceBroker. |
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 |
PersistenceBrokerHolder
public PersistenceBrokerHolder(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
- Create a new PersistenceBrokerHolder for the given OJB PersistenceBroker.
- Parameters:
persistenceBroker
- the OJB PersistenceBroker
getPersistenceBroker
public org.apache.ojb.broker.PersistenceBroker getPersistenceBroker()
- Return this holder's OJB PersistenceBroker.
Copyright (c) 2002-2007 The Spring Framework Project.