Class DumbFactory
java.lang.Object
org.ofbiz.core.entity.transaction.DumbFactory
- All Implemented Interfaces:
TransactionFactoryInterface
A dumb, non-working transaction manager.
- Since:
- 2.0
- Version:
- $Revision: 1.1 $
- Author:
- Pat Lightbody, David E. Jones
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConnection(String helperName) javax.transaction.TransactionManagerjavax.transaction.UserTransactionvoidremoveDatasource(String helperName) Removes a datasource, and if necessary, shuts it down
-
Constructor Details
-
DumbFactory
public DumbFactory()
-
-
Method Details
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()- Specified by:
getTransactionManagerin interfaceTransactionFactoryInterface
-
getUserTransaction
public javax.transaction.UserTransaction getUserTransaction()- Specified by:
getUserTransactionin interfaceTransactionFactoryInterface
-
getTxMgrName
- Specified by:
getTxMgrNamein interfaceTransactionFactoryInterface
-
getConnection
- Specified by:
getConnectionin interfaceTransactionFactoryInterface- Throws:
SQLExceptionGenericEntityException
-
removeDatasource
Description copied from interface:TransactionFactoryInterfaceRemoves a datasource, and if necessary, shuts it down- Specified by:
removeDatasourcein interfaceTransactionFactoryInterface- Parameters:
helperName- The name of the datasource to remove
-