org.datanucleus.store.rdbms.datasource
Class DefaultDataSourceFactory

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

public class DefaultDataSourceFactory
extends java.lang.Object
implements DataNucleusDataSourceFactory

Default DataSource implementation.


Constructor Summary
DefaultDataSourceFactory()
           
 
Method Summary
 javax.sql.DataSource makePooledDataSource(org.datanucleus.OMFContext omfCtx)
          Method to make a DataSource for use within DataNucleus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataSourceFactory

public DefaultDataSourceFactory()
Method Detail

makePooledDataSource

public javax.sql.DataSource makePooledDataSource(org.datanucleus.OMFContext omfCtx)
Method to make a DataSource for use within DataNucleus.

Specified by:
makePooledDataSource in interface DataNucleusDataSourceFactory
Parameters:
omfCtx - The OMF Context
Returns:
The DataSource
Throws:
java.lang.Exception - Thrown if an error occurs during creation


Copyright © 2009. All Rights Reserved.