public class DBCPDataSourceFactory extends Object implements DataSourceFactory
DataSourceFactory
based on DBCP connection pool library.Modifier and Type | Field and Description |
---|---|
protected ResourceLocator |
resourceLocator |
Constructor and Description |
---|
DBCPDataSourceFactory() |
Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource(DataNodeDescriptor nodeDescriptor)
Returns DataSource object based on the configuration provided in the
"nodeDescriptor".
|
protected ResourceLocator resourceLocator
public DataSource getDataSource(DataNodeDescriptor nodeDescriptor) throws Exception
DataSourceFactory
getDataSource
in interface DataSourceFactory
Exception
Copyright © 2001–2018 Apache Cayenne. All rights reserved.