| Home >> All >> org >> apache >> commons >> dbcp >> [ datasources Javadoc ] |
org.apache.commons.dbcp.datasources: Javadoc index of package org.apache.commons.dbcp.datasources.
Package Samples:
org.apache.commons.dbcp.datasources: Database Connection Pool API.
Classes:
InstanceKeyDataSource: The base class for SharedPoolDataSource and PerUserPoolDataSource . Many of the configuration properties are shared and defined here. This class is declared public in order to allow particular usage with commons-beanutils; do not make direct use of it outside of commons-dbcp. A J2EE container will normally provide some method of initializing the DataSource whose attributes are presented as bean getters/setters and then deploying it via JNDI. It is then available to an application as a source of pooled logical connections to the database. The pool needs a source of physical connections. This source ...
PerUserPoolDataSource: A pooling DataSource appropriate for deployment within J2EE environment. There are many configuration options, most of which are defined in the parent class. This datasource uses individual pools per user, and some properties can be set specifically for a given user, if the deployment environment can support initialization of mapped properties. So for example, a pool of admin or write-access Connections can be guaranteed a certain number of connections, separate from a maximum set for users with read-only connections.
SharedPoolDataSource: A pooling DataSource appropriate for deployment within J2EE environment. There are many configuration options, most of which are defined in the parent class. All users (based on username) share a single maximum number of Connections in this datasource.
CPDSConnectionFactory: A org.apache.commons.pool.PoolableObjectFactory that creates PoolableConnection s.
InstanceKeyObjectFactory: A JNDI ObjectFactory which creates SharedPoolDataSource s or PerUserPoolDataSource s
KeyedCPDSConnectionFactory: A {*link PoolableObjectFactory} that creates {*link PoolableConnection}s.
PerUserPoolDataSourceFactory: A JNDI ObjectFactory which creates SharedPoolDataSource s
SharedPoolDataSourceFactory: A JNDI ObjectFactory which creates SharedPoolDataSource s
UserPassKey: Holds a username, password pair.
PooledConnectionAndInfo
PoolKey
TestFactory
TestPerUserPoolDataSource
TestSharedPoolDataSource
| Home | Contact Us | Privacy Policy | Terms of Service |