public class DBConnectionManager
extends java.lang.Object
Manages a collection of ConnectionProviders, and provides transparent access to their connections.
ConnectionProvider, 
PoolingConnectionProvider, 
JNDIConnectionProvider, 
org.quartz.utils.weblogic.WeblogicConnectionProvider| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | DB_PROPS_PREFIX | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addConnectionProvider(java.lang.String dataSourceName,
                     ConnectionProvider provider) | 
| java.sql.Connection | getConnection(java.lang.String dsName)Get a database connection from the DataSource with the given name. | 
| static DBConnectionManager | getInstance()Get the class instance. | 
| void | shutdown(java.lang.String dsName)Shuts down database connections from the DataSource with the given name,
 if applicable for the underlying provider. | 
public static final java.lang.String DB_PROPS_PREFIX
public void addConnectionProvider(java.lang.String dataSourceName,
                         ConnectionProvider provider)
public java.sql.Connection getConnection(java.lang.String dsName)
                                  throws java.sql.SQLException
java.sql.SQLException - if an error occurs, or there is no DataSource with the
              given name.public static DBConnectionManager getInstance()
public void shutdown(java.lang.String dsName)
              throws java.sql.SQLException
java.sql.SQLException - if an error occurs, or there is no DataSource with the
              given name.