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.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".
|
public DataSource getDataSource(DataNodeDescriptor nodeDescriptor) throws Exception
DataSourceFactory
getDataSource
in interface DataSourceFactory
Exception
Copyright © 2001–2018 Apache Cayenne. All rights reserved.