org.datanucleus.store.rdbms.datasource
Class BoneCPDataSourceFactory
java.lang.Object
org.datanucleus.store.rdbms.datasource.AbstractDataSourceFactory
org.datanucleus.store.rdbms.datasource.BoneCPDataSourceFactory
- All Implemented Interfaces:
- DataNucleusDataSourceFactory
public class BoneCPDataSourceFactory
- extends AbstractDataSourceFactory
- implements DataNucleusDataSourceFactory
Plugin for the creation of a BoneCP connection pool.
Note that all BoneCP classes are named explicitly in the code to avoid loading
them at class initialisation.
http://jolbox.com/
|
Method Summary |
DataSource |
makePooledDataSource(org.datanucleus.store.StoreManager storeMgr)
Method to make a BoneCP DataSource for use internally in DataNucleus. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoneCPDataSourceFactory
public BoneCPDataSourceFactory()
makePooledDataSource
public DataSource makePooledDataSource(org.datanucleus.store.StoreManager storeMgr)
- Method to make a BoneCP DataSource for use internally in DataNucleus.
- Specified by:
makePooledDataSource in interface DataNucleusDataSourceFactory
- Parameters:
storeMgr - Context
- Returns:
- The DataSource
- Throws:
Exception - Thrown if an error occurs during creation
Copyright © 2012. All Rights Reserved.