org.hibernate.transaction
Class BTMTransactionManagerLookup

java.lang.Object
  extended by org.hibernate.transaction.BTMTransactionManagerLookup
All Implemented Interfaces:
org.hibernate.transaction.TransactionManagerLookup

public class BTMTransactionManagerLookup
extends Object
implements org.hibernate.transaction.TransactionManagerLookup

TransactionManager lookup strategy for BTM

Author:
Ludovic Orban

Constructor Summary
BTMTransactionManagerLookup()
           
 
Method Summary
 Object getTransactionIdentifier(Transaction transaction)
          
 TransactionManager getTransactionManager(Properties props)
          
 String getUserTransactionName()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTMTransactionManagerLookup

public BTMTransactionManagerLookup()
Method Detail

getTransactionManager

public TransactionManager getTransactionManager(Properties props)
                                         throws org.hibernate.HibernateException

Specified by:
getTransactionManager in interface org.hibernate.transaction.TransactionManagerLookup
Throws:
org.hibernate.HibernateException

getUserTransactionName

public String getUserTransactionName()

Specified by:
getUserTransactionName in interface org.hibernate.transaction.TransactionManagerLookup

getTransactionIdentifier

public Object getTransactionIdentifier(Transaction transaction)

Specified by:
getTransactionIdentifier in interface org.hibernate.transaction.TransactionManagerLookup