org.datanucleus.store.rdbms.datasource
Class ProxoolDataSourceFactory

java.lang.Object
  extended by org.datanucleus.store.rdbms.datasource.AbstractDataSourceFactory
      extended by org.datanucleus.store.rdbms.datasource.ProxoolDataSourceFactory
All Implemented Interfaces:
DataNucleusDataSourceFactory

public class ProxoolDataSourceFactory
extends AbstractDataSourceFactory
implements DataNucleusDataSourceFactory

Plugin for the creation of a Proxool connection pool. Note that all Proxool classes are named explicitly in the code to avoid loading them at class initialisation. (see http://proxool.sourceforge.net/)


Constructor Summary
ProxoolDataSourceFactory()
           
 
Method Summary
 DataSource makePooledDataSource(org.datanucleus.store.StoreManager storeMgr)
          Method to make a Proxool DataSource for use internally.
 
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

ProxoolDataSourceFactory

public ProxoolDataSourceFactory()
Method Detail

makePooledDataSource

public DataSource makePooledDataSource(org.datanucleus.store.StoreManager storeMgr)
Method to make a Proxool DataSource for use internally.

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.