Package com.atlassian.jira.ofbiz.sql
Class TransactionFactoryInterfaceWrapper
java.lang.Object
com.atlassian.jira.ofbiz.sql.TransactionFactoryInterfaceWrapper
- All Implemented Interfaces:
org.ofbiz.core.entity.transaction.TransactionFactoryInterface
- Direct Known Subclasses:
JiraSupportedDatabasesCompatibleJNDIFactory
public class TransactionFactoryInterfaceWrapper
extends Object
implements org.ofbiz.core.entity.transaction.TransactionFactoryInterface
Wraps TransactionFactoryInterface
- Since:
- v8.0
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionFactoryInterfaceWrapper(org.ofbiz.core.entity.transaction.TransactionFactoryInterface wrappedTransactionFactory) -
Method Summary
Modifier and TypeMethodDescriptionjavax.transaction.TransactionManagerjavax.transaction.UserTransactionvoid
-
Constructor Details
-
TransactionFactoryInterfaceWrapper
public TransactionFactoryInterfaceWrapper(org.ofbiz.core.entity.transaction.TransactionFactoryInterface wrappedTransactionFactory)
-
-
Method Details
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()- Specified by:
getTransactionManagerin interfaceorg.ofbiz.core.entity.transaction.TransactionFactoryInterface
-
getUserTransaction
public javax.transaction.UserTransaction getUserTransaction()- Specified by:
getUserTransactionin interfaceorg.ofbiz.core.entity.transaction.TransactionFactoryInterface
-
getTxMgrName
- Specified by:
getTxMgrNamein interfaceorg.ofbiz.core.entity.transaction.TransactionFactoryInterface
-
getConnection
public Connection getConnection(String s) throws SQLException, org.ofbiz.core.entity.GenericEntityException - Specified by:
getConnectionin interfaceorg.ofbiz.core.entity.transaction.TransactionFactoryInterface- Throws:
SQLExceptionorg.ofbiz.core.entity.GenericEntityException
-
removeDatasource
- Specified by:
removeDatasourcein interfaceorg.ofbiz.core.entity.transaction.TransactionFactoryInterface
-