org.hibernate.transaction
Interface TransactionManagerLookup

All Known Implementing Classes:
BESTransactionManagerLookup, JBossTransactionManagerLookup, JNDITransactionManagerLookup, JOnASTransactionManagerLookup, JOTMTransactionManagerLookup, JRun4TransactionManagerLookup, OC4JTransactionManagerLookup, OrionTransactionManagerLookup, ResinTransactionManagerLookup, SunONETransactionManagerLookup, WeblogicTransactionManagerLookup, 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

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

Throws:
HibernateException

getUserTransactionName

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