org.datanucleus.store.rdbms.datasource
Class BoneCPDataSourceFactory

java.lang.Object
  extended by org.datanucleus.store.rdbms.datasource.AbstractDataSourceFactory
      extended by 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/


Constructor Summary
BoneCPDataSourceFactory()
           
 
Method Summary
 DataSource makePooledDataSource(org.datanucleus.store.StoreManager storeMgr)
          Method to make a BoneCP DataSource for use internally in DataNucleus.
 
Methods inherited from class org.datanucleus.store.rdbms.datasource.AbstractDataSourceFactory
getPropertiesForDriver, loadDriver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoneCPDataSourceFactory

public BoneCPDataSourceFactory()
Method Detail

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.