org.datanucleus.store.rdbms.datasource
Class DefaultDataSourceFactory
java.lang.Object
org.datanucleus.store.rdbms.datasource.DefaultDataSourceFactory
- All Implemented Interfaces:
- DataNucleusDataSourceFactory
public class DefaultDataSourceFactory
- extends Object
- implements DataNucleusDataSourceFactory
Default DataSource implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDataSourceFactory
public DefaultDataSourceFactory()
makePooledDataSource
public DataSource makePooledDataSource(org.datanucleus.store.StoreManager storeMgr)
- Method to make a DataSource for use within DataNucleus.
- Specified by:
makePooledDataSource in interface DataNucleusDataSourceFactory
- Parameters:
storeMgr - The Context
- Returns:
- The DataSource
- Throws:
Exception - Thrown if an error occurs during creation
Copyright © 2012. All Rights Reserved.