net.mlw.vlh.adapter.jdbc.util
Class MyBasicDataSource

java.lang.Object
  extended byorg.apache.commons.dbcp.BasicDataSource
      extended bynet.mlw.vlh.adapter.jdbc.util.MyBasicDataSource
All Implemented Interfaces:
DataSource

public class MyBasicDataSource
extends org.apache.commons.dbcp.BasicDataSource

This class wraps the org.apache.commons.dbcp.BasicDataSource exposing the prtected connectionProperties as a bean setters and getters. net.mlw.vlh.adapter.jdbc.util.MyBasicDataSource

Author:
mwilson

Field Summary
 
Fields inherited from class org.apache.commons.dbcp.BasicDataSource
connectionPool, connectionProperties, dataSource, defaultAutoCommit, defaultCatalog, defaultReadOnly, defaultTransactionIsolation, driverClassName, initialSize, logWriter, maxActive, maxIdle, maxOpenPreparedStatements, maxWait, minEvictableIdleTimeMillis, minIdle, numTestsPerEvictionRun, password, poolPreparedStatements, testOnBorrow, testOnReturn, testWhileIdle, timeBetweenEvictionRunsMillis, url, username, validationQuery
 
Constructor Summary
MyBasicDataSource()
           
 
Method Summary
 Properties getConnectionProperties()
           
 void setConnectionProperties(Properties connectionProperties)
           
 
Methods inherited from class org.apache.commons.dbcp.BasicDataSource
addConnectionProperty, close, createDataSource, getConnection, getConnection, getDefaultAutoCommit, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDriverClassName, getInitialSize, getLogAbandoned, getLoginTimeout, getLogWriter, getMaxActive, getMaxIdle, getMaxOpenPreparedStatements, getMaxWait, getMinEvictableIdleTimeMillis, getMinIdle, getNumActive, getNumIdle, getNumTestsPerEvictionRun, getPassword, getRemoveAbandoned, getRemoveAbandonedTimeout, getTestOnBorrow, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, getUrl, getUsername, getValidationQuery, isAccessToUnderlyingConnectionAllowed, isPoolPreparedStatements, removeConnectionProperty, setAccessToUnderlyingConnectionAllowed, setDefaultAutoCommit, setDefaultCatalog, setDefaultReadOnly, setDefaultTransactionIsolation, setDriverClassName, setInitialSize, setLogAbandoned, setLoginTimeout, setLogWriter, setMaxActive, setMaxIdle, setMaxOpenPreparedStatements, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setNumTestsPerEvictionRun, setPassword, setPoolPreparedStatements, setRemoveAbandoned, setRemoveAbandonedTimeout, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setUrl, setUsername, setValidationQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyBasicDataSource

public MyBasicDataSource()
Method Detail

getConnectionProperties

public Properties getConnectionProperties()
Returns:
Returns the connectionProperties.

setConnectionProperties

public void setConnectionProperties(Properties connectionProperties)
Parameters:
connectionProperties - The connectionProperties to set.


Copyright © 2003-2006 mlavilson. All Rights Reserved.