Class XMLPoolingDataSourceFactory
java.lang.Object
org.apache.cayenne.configuration.runtime.XMLPoolingDataSourceFactory
- All Implemented Interfaces:
- DataSourceFactory
A 
DataSourceFactory that loads JDBC connection information from an
 XML resource associated with the DataNodeDescriptor, returning a DataSource
 with simple connection pooling.- Since:
- 3.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetDataSource(DataNodeDescriptor nodeDescriptor) Returns DataSource object based on the configuration provided in the "nodeDescriptor".
- 
Constructor Details- 
XMLPoolingDataSourceFactorypublic XMLPoolingDataSourceFactory()
 
- 
- 
Method Details- 
getDataSourceDescription copied from interface:DataSourceFactoryReturns DataSource object based on the configuration provided in the "nodeDescriptor".- Specified by:
- getDataSourcein interface- DataSourceFactory
- Throws:
- Exception
 
 
-