Uses of Interface
org.apache.commons.dbcp.ConnectionFactory

Packages that use ConnectionFactory
org.apache.commons.dbcp Database Connection Pool API. 
org.apache.commons.dbcp.managed This package provides support for pooling of ManagedConnections. 
 

Uses of ConnectionFactory in org.apache.commons.dbcp
 

Classes in org.apache.commons.dbcp that implement ConnectionFactory
 class DataSourceConnectionFactory
          A DataSource-based implementation of ConnectionFactory.
 class DriverConnectionFactory
          A Driver-based implementation of ConnectionFactory.
 class DriverManagerConnectionFactory
          A DriverManager-based implementation of ConnectionFactory.
 

Fields in org.apache.commons.dbcp declared as ConnectionFactory
protected  ConnectionFactory PoolableConnectionFactory._connFactory
           
 

Methods in org.apache.commons.dbcp that return ConnectionFactory
protected  ConnectionFactory BasicDataSource.createConnectionFactory()
          Creates a JDBC connection factory for this datasource.
 

Methods in org.apache.commons.dbcp with parameters of type ConnectionFactory
protected  void BasicDataSource.createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory, KeyedObjectPoolFactory statementPoolFactory, AbandonedConfig configuration)
          Creates the PoolableConnectionFactory and attaches it to the connection pool.
 void PoolableConnectionFactory.setConnectionFactory(ConnectionFactory connFactory)
          Sets the ConnectionFactory from which to obtain base Connections.
 

Constructors in org.apache.commons.dbcp with parameters of type ConnectionFactory
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, Collection connectionInitSqls, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Collection connectionInitSqls, boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation)
          Create a new PoolableConnectionFactory.
PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, int validationQueryTimeout, Collection connectionInitSqls, Boolean defaultReadOnly, boolean defaultAutoCommit, int defaultTransactionIsolation, String defaultCatalog, AbandonedConfig config)
          Create a new PoolableConnectionFactory.
 

Uses of ConnectionFactory in org.apache.commons.dbcp.managed
 

Subinterfaces of ConnectionFactory in org.apache.commons.dbcp.managed
 interface XAConnectionFactory
          XAConnectionFactory is an extension of ConnectionFactory used to create connections in a transaction managed environment.
 

Classes in org.apache.commons.dbcp.managed that implement ConnectionFactory
 class DataSourceXAConnectionFactory
          An implementation of XAConnectionFactory which uses a real XADataSource to obtain connections and XAResources.
 class LocalXAConnectionFactory
          An implementation of XAConnectionFactory which manages non-XA connections in XA transactions.
 

Fields in org.apache.commons.dbcp.managed declared as ConnectionFactory
protected  ConnectionFactory LocalXAConnectionFactory.connectionFactory
           
 

Methods in org.apache.commons.dbcp.managed that return ConnectionFactory
protected  ConnectionFactory BasicManagedDataSource.createConnectionFactory()
           
 

Methods in org.apache.commons.dbcp.managed with parameters of type ConnectionFactory
protected  void BasicManagedDataSource.createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory, KeyedObjectPoolFactory statementPoolFactory, AbandonedConfig abandonedConfig)
          Creates the PoolableConnectionFactory and attaches it to the connection pool.
 

Constructors in org.apache.commons.dbcp.managed with parameters of type ConnectionFactory
LocalXAConnectionFactory(TransactionManager transactionManager, ConnectionFactory connectionFactory)
          Creates an LocalXAConnectionFactory which uses the specified connection factory to create database connections.
 



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.