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

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

public static class DataSourceFactory.DbcpManagedDataSource
extends BasicManagedDataSource


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.DbcpManagedDataSource(DataSource dataSource)
           
 
Method Summary
protected  org.apache.commons.dbcp.ConnectionFactory createConnectionFactory()
           
 Logger getParentLogger()
           
 void setJdbcUrl(String string)
           
 void setTransactionRegistry(org.apache.commons.dbcp.managed.TransactionRegistry registry)
           
 
Methods inherited from class org.apache.openejb.resource.jdbc.BasicManagedDataSource
close, createDataSource, getJdbcDriver, getJdbcUrl, getPasswordCipher, getUserName, setDefaultTransactionIsolation, setJdbcDriver, setPasswordCipher, setUserName, wrapTransactionManager
 
Methods inherited from class org.apache.commons.dbcp.managed.BasicManagedDataSource
createDataSourceInstance, createPoolableConnectionFactory, getTransactionManager, getTransactionRegistry, getXADataSource, getXaDataSourceInstance, setTransactionManager, setXADataSource, setXaDataSourceInstance
 
Methods inherited from class org.apache.commons.dbcp.BasicDataSource
addConnectionProperty, createConnectionPool, 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.DbcpManagedDataSource

public DataSourceFactory.DbcpManagedDataSource(DataSource dataSource)
Method Detail

setJdbcUrl

public void setJdbcUrl(String string)
Overrides:
setJdbcUrl in class BasicManagedDataSource

createConnectionFactory

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

getParentLogger

public Logger getParentLogger()
                       throws SQLFeatureNotSupportedException
Throws:
SQLFeatureNotSupportedException

setTransactionRegistry

public void setTransactionRegistry(org.apache.commons.dbcp.managed.TransactionRegistry registry)


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