Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.configuration.server
Class DBCPDataSourceFactory

    java.lang.Object
      org.apache.cayenne.configuration.server.DBCPDataSourceFactory

All Implemented Interfaces:
  DataSourceFactory

    public class DBCPDataSourceFactory

extends java.lang.Object
implements DataSourceFactory

A `DataSourceFactory` based on DBCP connection pool library.

Since:
  3.1

Field Summary
`protected ResourceLocator` | `resourceLocator`

Constructor Summary
`DBCPDataSourceFactory()`

Method Summary
`javax.sql.DataSource` | `getDataSource(DataNodeDescriptor nodeDescriptor)` Returns DataSource object based on the configuration provided in the "nodeDescriptor".

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### resourceLocator

    protected ResourceLocator resourceLocator

Constructor Detail

### DBCPDataSourceFactory

    public DBCPDataSourceFactory()

Method Detail

### getDataSource

    public javax.sql.DataSource getDataSource(DataNodeDescriptor nodeDescriptor)
                                       throws java.lang.Exception

  Description copied from interface: `DataSourceFactory`
  Returns DataSource object based on the configuration provided in the "nodeDescriptor".

  Specified by:
    `getDataSource` in interface `DataSourceFactory`
  Throws:
    `java.lang.Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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