org.apache.cayenne.configuration.server

## Interface DataSourceFactory

- All Known Implementing Classes:
    DBCPDataSourceFactory, DelegatingDataSourceFactory, JNDIDataSourceFactory, PropertyDataSourceFactory, XMLPoolingDataSourceFactory

      public interface DataSourceFactory

  Since:
    3.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataSource` | `getDataSource(DataNodeDescriptor nodeDescriptor)` Returns DataSource object based on the configuration provided in the "nodeDescriptor".

- - ### Method Detail

    - #### getDataSource

          DataSource getDataSource(DataNodeDescriptor nodeDescriptor)
                            throws Exception

      Returns DataSource object based on the configuration provided in the "nodeDescriptor".
      Throws:
        `Exception`

Copyright © 2001–2017 Apache Cayenne. All rights reserved.