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

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


org.hibernate.transaction
Class JNDITransactionManagerLookup

java.lang.Object
  extended byorg.hibernate.transaction.JNDITransactionManagerLookup
All Implemented Interfaces:
TransactionManagerLookup
Direct Known Subclasses:
BESTransactionManagerLookup, JBossTransactionManagerLookup, JRun4TransactionManagerLookup, OC4JTransactionManagerLookup, OrionTransactionManagerLookup, ResinTransactionManagerLookup, SunONETransactionManagerLookup, WeblogicTransactionManagerLookup

public abstract class JNDITransactionManagerLookup
extends Object
implements TransactionManagerLookup

Locates a TransactionManager in JNDI.

Author:
Gavin King

Constructor Summary
JNDITransactionManagerLookup()
           
 
Method Summary
protected abstract  String getName()
           
 TransactionManager getTransactionManager(Properties props)
          Obtain the JTA TransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.transaction.TransactionManagerLookup
getUserTransactionName
 

Constructor Detail

JNDITransactionManagerLookup

public JNDITransactionManagerLookup()
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
See Also:
TransactionManagerLookup.getTransactionManager(java.util.Properties)

getName

protected abstract String getName()