Package org.apache.cayenne.configuration.server

# Interface DataSourceFactory

All Known Implementing Classes:
  `DelegatingDataSourceFactory`, `JNDIDataSourceFactory`, `PropertyDataSourceFactory`, `XMLPoolingDataSourceFactory`

public interface DataSourceFactory

Since:
  3.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataSource`
  `getDataSource(DataNodeDescriptor nodeDescriptor)`
  Returns DataSource object based on the configuration provided in the "nodeDescriptor".

- ## Method Details

  - ### getDataSource

    DataSource getDataSource(DataNodeDescriptor nodeDescriptor) throws Exception
    Returns DataSource object based on the configuration provided in the "nodeDescriptor".
    Throws:
      `Exception`