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

TransactionManagerLookup (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.transaction
Interface TransactionManagerLookup

All Known Implementing Classes:
JNDITransactionManagerLookup, JOnASTransactionManagerLookup, JOTMTransactionManagerLookup, WebSphereExtendedJTATransactionLookup, WebSphereTransactionManagerLookup

public interface TransactionManagerLookup

Concrete implementations locate and return the JTA TransactionManager.

Author:
Gavin King

Method Summary
 TransactionManager getTransactionManager(Properties props)
          Obtain the JTA TransactionManager
 String getUserTransactionName()
          Return the JNDI name of the JTA UserTransaction or null (optional operation).
 

Method Detail

getTransactionManager

public TransactionManager getTransactionManager(Properties props)
                                         throws HibernateException
Obtain the JTA TransactionManager

Throws:
HibernateException

getUserTransactionName

public String getUserTransactionName()
Return the JNDI name of the JTA UserTransaction or null (optional operation).