public class XMLPoolingDataSourceFactory extends Object implements DataSourceFactory
DataSourceFactory that loads JDBC connection information from an XML resource
associated with the DataNodeDescriptor, returning a DataSource with simple connection
pooling.| Modifier and Type | Field and Description |
|---|---|
protected JdbcEventLogger |
jdbcEventLogger |
protected ResourceLocator |
resourceLocator |
| Constructor and Description |
|---|
XMLPoolingDataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource(DataNodeDescriptor nodeDescriptor)
Returns DataSource object based on the configuration provided in the
"nodeDescriptor".
|
protected ResourceLocator resourceLocator
protected JdbcEventLogger jdbcEventLogger
public DataSource getDataSource(DataNodeDescriptor nodeDescriptor) throws Exception
DataSourceFactorygetDataSource in interface DataSourceFactoryExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.