ca.bc.gov.webade.dbpool.oracle
Class OracleConnectionPoolDataSourceFactory

java.lang.Object
  extended byca.bc.gov.webade.dbpool.oracle.OracleConnectionPoolDataSourceFactory
All Implemented Interfaces:
ConnectionPoolDataSourceFactory

public class OracleConnectionPoolDataSourceFactory
extends java.lang.Object
implements ConnectionPoolDataSourceFactory

The oracle database-based implementation of the ConnectionPoolDataSourceFactory factory.

Author:
jross

Field Summary
 
Fields inherited from interface ca.bc.gov.webade.dbpool.ConnectionPoolDataSourceFactory
DATASOURCE_CLASS_PROPERTY_NAME
 
Constructor Summary
OracleConnectionPoolDataSourceFactory()
           
 
Method Summary
 javax.sql.ConnectionPoolDataSource createDataSource(ConnectionPoolParams params, java.lang.String password)
          Creates a new data source with the given parameters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleConnectionPoolDataSourceFactory

public OracleConnectionPoolDataSourceFactory()
Method Detail

createDataSource

public javax.sql.ConnectionPoolDataSource createDataSource(ConnectionPoolParams params,
                                                           java.lang.String password)
                                                    throws java.sql.SQLException
Description copied from interface: ConnectionPoolDataSourceFactory
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.

Specified by:
createDataSource in interface ConnectionPoolDataSourceFactory
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.
See Also:
ConnectionPoolDataSourceFactory.createDataSource(ca.bc.gov.webade.dbpool.ConnectionPoolParams, java.lang.String)