org.apache.openejb.resource.jdbc
Class DataSourceFactory.DbcpDataSource

java.lang.Object
  extended by org.apache.commons.dbcp.BasicDataSource
      extended by org.apache.openejb.resource.jdbc.BasicDataSource
          extended by org.apache.openejb.resource.jdbc.DataSourceFactory.DbcpDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource
Enclosing class:
DataSourceFactory

public static class DataSourceFactory.DbcpDataSource
extends BasicDataSource


Field Summary
 
Fields inherited from class org.apache.commons.dbcp.BasicDataSource
closed, connectionInitSqls, connectionPool, connectionProperties, defaultAutoCommit, defaultCatalog, defaultReadOnly, defaultTransactionIsolation, driverClassLoader, driverClassName, initialSize, logWriter, maxActive, maxIdle, maxOpenPreparedStatements, maxWait, minEvictableIdleTimeMillis, minIdle, numTestsPerEvictionRun, password, poolPreparedStatements, testOnBorrow, testOnReturn, testWhileIdle, timeBetweenEvictionRunsMillis, url, username, validationQuery, validationQueryTimeout
 
Constructor Summary
DataSourceFactory.DbcpDataSource(DataSource dataSource)
           
 
Method Summary
protected  org.apache.commons.dbcp.ConnectionFactory createConnectionFactory()
           
 void setJdbcUrl(String url)
           
 
Methods inherited from class org.apache.openejb.resource.jdbc.BasicDataSource
createDataSource, getJdbcDriver, getJdbcUrl, getParentLogger, getPasswordCipher, getUserName, setDefaultTransactionIsolation, setJdbcDriver, setMaxWait, setPasswordCipher, setUserName
 
Methods inherited from class org.apache.commons.dbcp.BasicDataSource
addConnectionProperty, close, createConnectionPool, createDataSourceInstance, createPoolableConnectionFactory, getConnection, getConnection, getConnectionInitSqls, getDefaultAutoCommit, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDriverClassLoader, getDriverClassName, getInitialSize, getLogAbandoned, getLoginTimeout, getLogWriter, getMaxActive, getMaxIdle, getMaxOpenPreparedStatements, getMaxWait, getMinEvictableIdleTimeMillis, getMinIdle, getNumActive, getNumIdle, getNumTestsPerEvictionRun, getPassword, getRemoveAbandoned, getRemoveAbandonedTimeout, getTestOnBorrow, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, getUrl, getUsername, getValidationQuery, getValidationQueryTimeout, isAccessToUnderlyingConnectionAllowed, isClosed, isPoolPreparedStatements, isWrapperFor, log, removeConnectionProperty, setAccessToUnderlyingConnectionAllowed, setConnectionInitSqls, setConnectionProperties, setDefaultAutoCommit, setDefaultCatalog, setDefaultReadOnly, setDefaultTransactionIsolation, setDriverClassLoader, setDriverClassName, setInitialSize, setLogAbandoned, setLoginTimeout, setLogWriter, setMaxActive, setMaxIdle, setMaxOpenPreparedStatements, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setNumTestsPerEvictionRun, setPassword, setPoolPreparedStatements, setRemoveAbandoned, setRemoveAbandonedTimeout, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setUrl, setUsername, setValidationQuery, setValidationQueryTimeout, unwrap, validateConnectionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceFactory.DbcpDataSource

public DataSourceFactory.DbcpDataSource(DataSource dataSource)
Method Detail

createConnectionFactory

protected org.apache.commons.dbcp.ConnectionFactory createConnectionFactory()
                                                                     throws SQLException
Overrides:
createConnectionFactory in class org.apache.commons.dbcp.BasicDataSource
Throws:
SQLException

setJdbcUrl

public void setJdbcUrl(String url)
Overrides:
setJdbcUrl in class BasicDataSource


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.