com.atomikos.icatch.jta.hibernate
Class TransactionManagerLookup
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionManagerLookup
public TransactionManagerLookup()
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.