当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
WebSphereExtendedJTATransactionLookup (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.transaction
Class WebSphereExtendedJTATransactionLookup
java.lang.Object
net.sf.hibernate.transaction.WebSphereExtendedJTATransactionLookup
- All Implemented Interfaces:
- TransactionManagerLookup
- public class WebSphereExtendedJTATransactionLookup
- extends Object
- implements TransactionManagerLookup
Support for proprietary interfaces for registering synchronizations in WebSphere 5 and 6.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSphereExtendedJTATransactionLookup
public WebSphereExtendedJTATransactionLookup()
getTransactionManager
public TransactionManager getTransactionManager(Properties props)
throws HibernateException
- Description copied from interface:
TransactionManagerLookup
- Obtain the JTA TransactionManager
- Specified by:
getTransactionManager
in interface TransactionManagerLookup
- Throws:
HibernateException
getUserTransactionName
public String getUserTransactionName()
- Description copied from interface:
TransactionManagerLookup
- Return the JNDI name of the JTA UserTransaction
or null (optional operation).
- Specified by:
getUserTransactionName
in interface TransactionManagerLookup