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 |
| 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 JdbcEventLogger jdbcEventLogger
public DataSource getDataSource(DataNodeDescriptor nodeDescriptor) throws Exception
DataSourceFactorygetDataSource in interface DataSourceFactoryExceptionCopyright © 2001–2015 Apache Cayenne. All rights reserved.