站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

WebSphereTransactionManagerLookup (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.transaction
Class WebSphereTransactionManagerLookup

java.lang.Object
  extended byorg.hibernate.transaction.WebSphereTransactionManagerLookup
All Implemented Interfaces:
TransactionManagerLookup

public class WebSphereTransactionManagerLookup
extends Object
implements TransactionManagerLookup

TransactionManager lookup strategy for WebSphere (versions 4, 5.0 and 5.1)

Author:
Gavin King

Constructor Summary
WebSphereTransactionManagerLookup()
           
 
Method Summary
 TransactionManager getTransactionManager(Properties props)
          Obtain the JTA TransactionManager
 String getUserTransactionName()
          Return the JNDI name of the JTA UserTransaction or null (optional operation).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSphereTransactionManagerLookup

public WebSphereTransactionManagerLookup()
Method Detail

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