Class XMLPoolingDataSourceFactory
- java.lang.Object
-
- org.apache.cayenne.configuration.server.XMLPoolingDataSourceFactory
-
- All Implemented Interfaces:
DataSourceFactory
public class XMLPoolingDataSourceFactory extends Object implements DataSourceFactory
ADataSourceFactorythat loads JDBC connection information from an XML resource associated with the DataNodeDescriptor, returning a DataSource with simple connection pooling.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description XMLPoolingDataSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourcegetDataSource(DataNodeDescriptor nodeDescriptor)Returns DataSource object based on the configuration provided in the "nodeDescriptor".
-
-
-
Method Detail
-
getDataSource
public DataSource getDataSource(DataNodeDescriptor nodeDescriptor) throws Exception
Description copied from interface:DataSourceFactoryReturns DataSource object based on the configuration provided in the "nodeDescriptor".- Specified by:
getDataSourcein interfaceDataSourceFactory- Throws:
Exception
-
-