org.datanucleus.store.rdbms.datasource
Class ProxoolDataSourceFactory
java.lang.Object
org.datanucleus.store.rdbms.datasource.AbstractDataSourceFactory
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/)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxoolDataSourceFactory
public ProxoolDataSourceFactory()
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.