com.atomikos.icatch.jta.hibernate3
Class TransactionManagerLookup
java.lang.Object
com.atomikos.icatch.jta.hibernate3.TransactionManagerLookup
- All Implemented Interfaces:
- org.hibernate.transaction.TransactionManagerLookup
public class TransactionManagerLookup
- extends Object
- implements org.hibernate.transaction.TransactionManagerLookup
This class is provided for Hibernate3 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 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)
Copyright © 2011. All Rights Reserved.