Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.cayenne.conf.DataSourceFactory

Packages that use DataSourceFactory
org.apache.cayenne.conf | Contains classes dealing with Cayenne configuration files.
org.apache.cayenne.project | Contains model classes used by CayenneModeler or any other MVC type of application to work with Cayenne project files.

Uses of DataSourceFactory in org.apache.cayenne.conf

Classes in org.apache.cayenne.conf that implement DataSourceFactory
`class` | `DBCPDataSourceFactory` A DataSourceFactory that creates a connection pool based on Apache Jakarta commons-dbcp.
`class` | `DriverDataSourceFactory` Creates DataSource objects from XML configuration files that describe a JDBC driver.
`class` | `JNDIDataSourceFactory` Looks up DataSource objects via JNDI.

Fields in org.apache.cayenne.conf declared as DataSourceFactory
`protected DataSourceFactory` | `Configuration.overrideFactory`

Methods in org.apache.cayenne.conf that return DataSourceFactory
`DataSourceFactory` | `Configuration.getDataSourceFactory()` Deprecated. since 3.0 this method is no longer called when configuration is loaded. Instead `Configuration.getDataSourceFactory(String)` is invoked, and this is the method that should be overriden.
`DataSourceFactory` | `Configuration.getDataSourceFactory(String userFactoryName)` Returns a DataSourceFactory that should override a given factory specified by caller.

Methods in org.apache.cayenne.conf with parameters of type DataSourceFactory
`void` | `Configuration.setDataSourceFactory(DataSourceFactory overrideFactory)`

Uses of DataSourceFactory in org.apache.cayenne.project

Classes in org.apache.cayenne.project that implement DataSourceFactory
`class` | `ProjectDataSourceFactory` Factory of DataSource objects used by the project model.

Methods in org.apache.cayenne.project that return DataSourceFactory
`DataSourceFactory` | `ProjectConfiguration.getDataSourceFactory()` Deprecated. since 3.0 as the super method is deprecated as well.
`DataSourceFactory` | `ProjectConfiguration.getDataSourceFactory(String userFactoryName)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.