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
DataSourceFactory
getDataSource
in interface DataSourceFactory
Exception
Copyright © 2001–2015 Apache Cayenne. All rights reserved.