org.ofbiz.entity.connection
Class MinervaConnectionFactory

java.lang.Object
  extended by 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
           
 
Constructor Summary
MinervaConnectionFactory()
           
 
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
 

Field Detail

module

public static final java.lang.String module

dsCache

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

MinervaConnectionFactory

public MinervaConnectionFactory()
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

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