# Verwendungen von Schnittstelle
org.apache.torque.dsfactory.DataSourceFactory

Packages, die DataSourceFactory verwenden
Package
Beschreibung
org.apache.torque
Torque is an object-relational mapper for Java.
org.apache.torque.dsfactory
Torque's API for creation of various javax.sql.DataSource implementations.

- ## Verwendungen von DataSourceFactory in org.apache.torque

  Methoden in org.apache.torque, die DataSourceFactory zurückgeben
  Modifizierer und Typ
  Methode
  Beschreibung
  `DataSourceFactory`
  Database.`getDataSourceFactory()`
  Returns the DataSourceFactory for this database.
  `DataSourceFactory`
  TorqueInstance.`getDataSourceFactory(String name)`
  Returns the DataSourceFactory for the database with the name `name`.
  Methoden in org.apache.torque mit Parametern vom Typ DataSourceFactory
  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  Database.`setDataSourceFactory(DataSourceFactory aDataSourceFactory)`
  Sets the DataSourceFactory for this database.

- ## Verwendungen von DataSourceFactory in org.apache.torque.dsfactory

  Klassen in org.apache.torque.dsfactory, die DataSourceFactory implementieren
  Modifizierer und Typ
  Klasse
  Beschreibung
  `class`
  `AbstractDataSourceFactory`
  A class that contains common functionality of the factories in this package.
  `class`
  `JndiDataSourceFactory`
  A factory that looks up the DataSource from JNDI.
  `class`
  `PerUserPool2DataSourceFactory`
  A factory that looks up the DataSource using the DBCP2 pool methods.
  `class`
  `SharedPool2DataSourceFactory`
  A factory that looks up the DataSource using the DBCP2 pool methods.