org.fabric3.jpa.api
Class F3TransactionManagerLookup
java.lang.Object
org.fabric3.jpa.api.F3TransactionManagerLookup
- All Implemented Interfaces:
- org.hibernate.transaction.TransactionManagerLookup
public final class F3TransactionManagerLookup
- extends Object
- implements org.hibernate.transaction.TransactionManagerLookup
Resolves a Fabric3 transaction manager for Hibernate.
- Version:
- $Rev: 11083 $ $Date: 2012-06-21 10:38:50 +0000 (Thu, 21 Jun 2012) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
F3TransactionManagerLookup
public F3TransactionManagerLookup()
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)
getTransactionManager
public TransactionManager getTransactionManager(Properties properties)
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
Copyright © 2007-2012 Metaform Systems.