|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.configuration.server.DBCPDataSourceFactory
public class DBCPDataSourceFactory
A DataSourceFactory based on DBCP connection pool library.
| Field Summary | |
|---|---|
protected ResourceLocator |
resourceLocator
|
| Constructor Summary | |
|---|---|
DBCPDataSourceFactory()
|
|
| Method Summary | |
|---|---|
javax.sql.DataSource |
getDataSource(DataNodeDescriptor nodeDescriptor)
Returns DataSource object based on the configuration provided in the "nodeDescriptor". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ResourceLocator resourceLocator
| Constructor Detail |
|---|
public DBCPDataSourceFactory()
| Method Detail |
|---|
public javax.sql.DataSource getDataSource(DataNodeDescriptor nodeDescriptor)
throws java.lang.Exception
DataSourceFactory
getDataSource in interface DataSourceFactoryjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||