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).