Uses of Interface
org.apache.commons.dbcp2.ConnectionFactory
Package
Description
Database Connection Pool API.
This package provides support for pooling of ManagedConnections.
-
Uses of ConnectionFactory in org.apache.commons.dbcp2
Modifier and TypeClassDescriptionclass
ADataSource
-based implementation ofConnectionFactory
.class
ADriver
-based implementation ofConnectionFactory
.class
ADriverManager
-based implementation ofConnectionFactory
.Modifier and TypeMethodDescriptionprotected ConnectionFactory
BasicDataSource.createConnectionFactory()
Creates a JDBC connection factory for this data source.PoolableConnectionFactory.getConnectionFactory()
Gets the connection factory.Modifier and TypeMethodDescriptionprotected PoolableConnectionFactory
BasicDataSource.createPoolableConnectionFactory
(ConnectionFactory driverConnectionFactory) Creates the PoolableConnectionFactory and attaches it to the connection pool.ModifierConstructorDescriptionPoolableConnectionFactory
(ConnectionFactory connFactory, ObjectName dataSourceJmxObjectName) Creates a newPoolableConnectionFactory
. -
Uses of ConnectionFactory in org.apache.commons.dbcp2.managed
Modifier and TypeInterfaceDescriptioninterface
XAConnectionFactory is an extension of ConnectionFactory used to create connections in a transaction managed environment.Modifier and TypeClassDescriptionclass
An implementation of XAConnectionFactory which uses a real XADataSource to obtain connections and XAResources.class
An implementation of XAConnectionFactory which manages non-XA connections in XA transactions.Modifier and TypeMethodDescriptionprotected ConnectionFactory
BasicManagedDataSource.createConnectionFactory()
LocalXAConnectionFactory.getConnectionFactory()
Modifier and TypeMethodDescriptionprotected PoolableConnectionFactory
BasicManagedDataSource.createPoolableConnectionFactory
(ConnectionFactory driverConnectionFactory) Creates the PoolableConnectionFactory and attaches it to the connection pool.ModifierConstructorDescriptionLocalXAConnectionFactory
(TransactionManager transactionManager, TransactionSynchronizationRegistry transactionSynchronizationRegistry, ConnectionFactory connectionFactory) Creates an LocalXAConnectionFactory which uses the specified connection factory to create database connections.LocalXAConnectionFactory
(TransactionManager transactionManager, ConnectionFactory connectionFactory) Creates an LocalXAConnectionFactory which uses the specified connection factory to create database connections.