ca.bc.gov.webade.dbpool
Interface ConnectionPoolDataSourceFactory
- All Known Implementing Classes:
- OracleConnectionPoolDataSourceFactory
- public interface ConnectionPoolDataSourceFactory
Classes that implement this interface provide ConnectionPoolDataSource
instances to the WebADE connection pooling API.
- Author:
- jross
|
Field Summary |
static java.lang.String |
DATASOURCE_CLASS_PROPERTY_NAME
Name of the system property that specifies the fully-qualified
implementation of ConnectionPoolDataSourceFactory that will be used to
create data sources for the application. |
DATASOURCE_CLASS_PROPERTY_NAME
public static final java.lang.String DATASOURCE_CLASS_PROPERTY_NAME
- Name of the system property that specifies the fully-qualified
implementation of ConnectionPoolDataSourceFactory that will be used to
create data sources for the application.
- See Also:
- Constant Field Values
createDataSource
public javax.sql.ConnectionPoolDataSource createDataSource(ConnectionPoolParams params,
java.lang.String password)
throws java.sql.SQLException
- Creates a new data source with the given parameters. The password value
is passed separately, as the ConnectionPoolParams password attribute is
package-private, and is not accessible to implementations of this
interface outside of the dbpool package.
- Parameters:
params - The database connection parameter settings.password - The database connection user's password.
- Returns:
- A fully initialized datasource instance.
- Throws:
java.sql.SQLException - Thrown if an error occurs while creating the data store.