org.ofbiz.entity.transaction
Class DumbFactory

java.lang.Object
  extended by org.ofbiz.entity.transaction.DumbFactory
All Implemented Interfaces:
TransactionFactoryInterface

public class DumbFactory
extends java.lang.Object
implements TransactionFactoryInterface

A dumb, non-working transaction manager.


Field Summary
static java.lang.String module
           
 
Constructor Summary
DumbFactory()
           
 
Method Summary
 java.sql.Connection getConnection(java.lang.String helperName)
           
 TransactionManager getTransactionManager()
           
 java.lang.String getTxMgrName()
           
 UserTransaction getUserTransaction()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

DumbFactory

public DumbFactory()
Method Detail

getTransactionManager

public TransactionManager getTransactionManager()
Specified by:
getTransactionManager in interface TransactionFactoryInterface

getUserTransaction

public UserTransaction getUserTransaction()
Specified by:
getUserTransaction in interface TransactionFactoryInterface

getTxMgrName

public java.lang.String getTxMgrName()
Specified by:
getTxMgrName in interface TransactionFactoryInterface

getConnection

public java.sql.Connection getConnection(java.lang.String helperName)
                                  throws java.sql.SQLException,
                                         GenericEntityException
Specified by:
getConnection in interface TransactionFactoryInterface
Throws:
java.sql.SQLException
GenericEntityException

shutdown

public void shutdown()
Specified by:
shutdown in interface TransactionFactoryInterface