# Uses of Class
org.apache.commons.dbcp2.datasources.InstanceKeyDataSource

Packages that use InstanceKeyDataSource
Package
Description
org.apache.commons.dbcp2.datasources
This package contains two DataSources: `PerUserPoolDataSource` and `SharedPoolDataSource` which provide a database connection pool.

- ## Uses of InstanceKeyDataSource in org.apache.commons.dbcp2.datasources

  Subclasses of InstanceKeyDataSource in org.apache.commons.dbcp2.datasources
  Modifier and Type
  Class
  Description
  `class`
  `PerUserPoolDataSource`
  A pooling `DataSource` appropriate for deployment within J2EE environment.
  `class`
  `SharedPoolDataSource`
  A pooling `DataSource` appropriate for deployment within J2EE environment.
  Methods in org.apache.commons.dbcp2.datasources that return InstanceKeyDataSource
  Modifier and Type
  Method
  Description
  `protected InstanceKeyDataSource`
  PerUserPoolDataSourceFactory.`getNewInstance(Reference ref)`
  `protected InstanceKeyDataSource`
  SharedPoolDataSourceFactory.`getNewInstance(Reference ref)`