Package | Description |
---|---|
org.apache.commons.dbcp2 |
Database Connection Pool API.
|
org.apache.commons.dbcp2.managed |
This package provides support for pooling of ManagedConnections.
|
Modifier and Type | Class and Description |
---|---|
class |
DataSourceConnectionFactory
A
DataSource -based implementation of ConnectionFactory . |
class |
DriverConnectionFactory
A
Driver -based implementation of ConnectionFactory . |
class |
DriverManagerConnectionFactory
A
DriverManager -based implementation of ConnectionFactory . |
Modifier and Type | Method and Description |
---|---|
protected ConnectionFactory |
BasicDataSource.createConnectionFactory()
Creates a JDBC connection factory for this datasource.
|
protected ConnectionFactory |
PoolableConnectionFactory.getConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
protected PoolableConnectionFactory |
BasicDataSource.createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)
Creates the PoolableConnectionFactory and attaches it to the connection pool.
|
Constructor and Description |
---|
PoolableConnectionFactory(ConnectionFactory connFactory,
ObjectName dataSourceJmxName)
Create a new PoolableConnectionFactory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
XAConnectionFactory
XAConnectionFactory is an extension of ConnectionFactory used to create connections
in a transaction managed environment.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionFactory |
BasicManagedDataSource.createConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
protected PoolableConnectionFactory |
BasicManagedDataSource.createPoolableConnectionFactory(ConnectionFactory driverConnectionFactory)
Creates the PoolableConnectionFactory and attaches it to the connection pool.
|
Constructor and Description |
---|
LocalXAConnectionFactory(TransactionManager transactionManager,
ConnectionFactory connectionFactory)
Creates an LocalXAConnectionFactory which uses the specified connection factory to create database
connections.
|
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.