Package | Description |
---|---|
org.apache.commons.dbcp.datasources |
This package contains two DataSources:
PerUserPoolDataSource and
SharedPoolDataSource which provide a database connection pool. |
Modifier and Type | Class and Description |
---|---|
class |
PerUserPoolDataSource
A pooling
DataSource appropriate for deployment within
J2EE environment. |
class |
SharedPoolDataSource
A pooling
DataSource appropriate for deployment within
J2EE environment. |
Modifier and Type | Method and Description |
---|---|
protected InstanceKeyDataSource |
SharedPoolDataSourceFactory.getNewInstance(javax.naming.Reference ref) |
protected InstanceKeyDataSource |
PerUserPoolDataSourceFactory.getNewInstance(javax.naming.Reference ref) |
protected abstract InstanceKeyDataSource |
InstanceKeyObjectFactory.getNewInstance(javax.naming.Reference ref)
Creates an instance of the subclass and sets any properties
contained in the Reference.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
InstanceKeyObjectFactory.registerNewInstance(InstanceKeyDataSource ds) |
private void |
InstanceKeyObjectFactory.setCommonProperties(javax.naming.Reference ref,
InstanceKeyDataSource ikds) |