org.ofbiz.entity.connection
Class DBCPConnectionFactory

java.lang.Object
  extended by org.ofbiz.entity.connection.DBCPConnectionFactory
All Implemented Interfaces:
ConnectionFactoryInterface

public class DBCPConnectionFactory
extends java.lang.Object
implements ConnectionFactoryInterface

DBCPConnectionFactory


Field Summary
protected static java.util.Map<java.lang.String,ManagedDataSource> dsCache
           
static java.lang.String module
           
 
Constructor Summary
DBCPConnectionFactory()
           
 
Method Summary
 void closeAll()
           
 java.sql.Connection getConnection(java.lang.String helperName, org.w3c.dom.Element jotmJdbcElement)
           
 
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

dsCache

protected static java.util.Map<java.lang.String,ManagedDataSource> dsCache
Constructor Detail

DBCPConnectionFactory

public DBCPConnectionFactory()
Method Detail

getConnection

public java.sql.Connection getConnection(java.lang.String helperName,
                                         org.w3c.dom.Element jotmJdbcElement)
                                  throws java.sql.SQLException,
                                         GenericEntityException
Specified by:
getConnection in interface ConnectionFactoryInterface
Throws:
java.sql.SQLException
GenericEntityException

closeAll

public void closeAll()
Specified by:
closeAll in interface ConnectionFactoryInterface