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 Details

    • TransactionFactoryInterfaceWrapper

      public TransactionFactoryInterfaceWrapper(org.ofbiz.core.entity.transaction.TransactionFactoryInterface wrappedTransactionFactory)
  • Method Details

    • getTransactionManager

      public javax.transaction.TransactionManager getTransactionManager()
      Specified by:
      getTransactionManager in interface org.ofbiz.core.entity.transaction.TransactionFactoryInterface
    • getUserTransaction

      public javax.transaction.UserTransaction getUserTransaction()
      Specified by:
      getUserTransaction in interface org.ofbiz.core.entity.transaction.TransactionFactoryInterface
    • getTxMgrName

      public String getTxMgrName()
      Specified by:
      getTxMgrName in interface org.ofbiz.core.entity.transaction.TransactionFactoryInterface
    • getConnection

      public Connection getConnection(String s) throws SQLException, org.ofbiz.core.entity.GenericEntityException
      Specified by:
      getConnection in interface org.ofbiz.core.entity.transaction.TransactionFactoryInterface
      Throws:
      SQLException
      org.ofbiz.core.entity.GenericEntityException
    • removeDatasource

      public void removeDatasource(String s)
      Specified by:
      removeDatasource in interface org.ofbiz.core.entity.transaction.TransactionFactoryInterface