Class DumbTransactionFactory
- java.lang.Object
-
- org.apache.ofbiz.entity.transaction.DumbTransactionFactory
-
- All Implemented Interfaces:
TransactionFactory
public class DumbTransactionFactory extends java.lang.Object implements TransactionFactory
A dumb, non-working transaction manager.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description DumbTransactionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.Connection
getConnection(GenericHelperInfo helperInfo)
TransactionManager
getTransactionManager()
java.lang.String
getTxMgrName()
UserTransaction
getUserTransaction()
void
shutdown()
-
-
-
Method Detail
-
getTransactionManager
public TransactionManager getTransactionManager()
- Specified by:
getTransactionManager
in interfaceTransactionFactory
-
getUserTransaction
public UserTransaction getUserTransaction()
- Specified by:
getUserTransaction
in interfaceTransactionFactory
-
getTxMgrName
public java.lang.String getTxMgrName()
- Specified by:
getTxMgrName
in interfaceTransactionFactory
-
getConnection
public java.sql.Connection getConnection(GenericHelperInfo helperInfo) throws java.sql.SQLException, GenericEntityException
- Specified by:
getConnection
in interfaceTransactionFactory
- Throws:
java.sql.SQLException
GenericEntityException
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceTransactionFactory
-
-