org.ofbiz.entity.connection
Class MinervaConnectionFactory
java.lang.Object
org.ofbiz.entity.connection.MinervaConnectionFactory
- All Implemented Interfaces:
- ConnectionFactoryInterface
public class MinervaConnectionFactory
- extends java.lang.Object
- implements ConnectionFactoryInterface
MinervaConnectionFactory - Central source for Minerva JDBC Objects
Field Summary |
protected static java.util.Map<java.lang.String,XAPoolDataSource> |
dsCache
|
static java.lang.String |
module
|
Method Summary |
void |
closeAll()
|
java.sql.Connection |
getConnection(java.lang.String helperName,
org.w3c.dom.Element jotmJdbcElement)
|
static java.util.Set |
getPooledData(java.lang.String helperName)
|
static java.lang.String |
getPoolName(java.lang.String helperName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
dsCache
protected static java.util.Map<java.lang.String,XAPoolDataSource> dsCache
MinervaConnectionFactory
public MinervaConnectionFactory()
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
getPooledData
public static java.util.Set getPooledData(java.lang.String helperName)
throws GenericEntityException
- Throws:
GenericEntityException
getPoolName
public static java.lang.String getPoolName(java.lang.String helperName)
throws GenericEntityException
- Throws:
GenericEntityException