Package org.nuxeo.ecm.core.persistence
Class HibernateConfiguration.NuxeoTransactionManagerLookup
- java.lang.Object
-
- org.nuxeo.ecm.core.persistence.HibernateConfiguration.NuxeoTransactionManagerLookup
-
- All Implemented Interfaces:
org.hibernate.transaction.TransactionManagerLookup
- Enclosing class:
- HibernateConfiguration
public static class HibernateConfiguration.NuxeoTransactionManagerLookup extends Object implements org.hibernate.transaction.TransactionManagerLookup
Hibernate Transaction Manager Lookup that uses our framework.
-
-
Constructor Summary
Constructors Constructor Description NuxeoTransactionManagerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getTransactionIdentifier(javax.transaction.Transaction transaction)
javax.transaction.TransactionManager
getTransactionManager(Properties props)
String
getUserTransactionName()
-
-
-
Method Detail
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager(Properties props)
- Specified by:
getTransactionManager
in interfaceorg.hibernate.transaction.TransactionManagerLookup
-
getUserTransactionName
public String getUserTransactionName()
- Specified by:
getUserTransactionName
in interfaceorg.hibernate.transaction.TransactionManagerLookup
-
getTransactionIdentifier
public Object getTransactionIdentifier(javax.transaction.Transaction transaction)
- Specified by:
getTransactionIdentifier
in interfaceorg.hibernate.transaction.TransactionManagerLookup
-
-