DataSourceFactory (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.configuration.runtime, interface: DataSourceFactory

# 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)
    Returns DataSource object based on the configuration provided in the "nodeDescriptor".