com.atomikos.icatch.jta.hibernate
Class TransactionManagerLookup

java.lang.Object
  extended by com.atomikos.icatch.jta.hibernate.TransactionManagerLookup
All Implemented Interfaces:
net.sf.hibernate.transaction.TransactionManagerLookup

public class TransactionManagerLookup
extends Object
implements net.sf.hibernate.transaction.TransactionManagerLookup

This class is provided for Hibernate integration. To use Atomikos as the Hibernate JTA transaction manager, specify this class as the value of the hibernate.transaction.manager_lookup_class of the hibernate configuration properties.


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

Constructor Detail

TransactionManagerLookup

public TransactionManagerLookup()
Method Detail

getTransactionManager

public TransactionManager getTransactionManager(Properties arg0)
                                         throws net.sf.hibernate.HibernateException
Specified by:
getTransactionManager in interface net.sf.hibernate.transaction.TransactionManagerLookup
Throws:
net.sf.hibernate.HibernateException

getUserTransactionName

public String getUserTransactionName()
Specified by:
getUserTransactionName in interface net.sf.hibernate.transaction.TransactionManagerLookup


Copyright © 2011. All Rights Reserved.