org.datanucleus.store.rdbms.datasource
Interface DataNucleusDataSourceFactory

All Known Implementing Classes:
DefaultDataSourceFactory

public interface DataNucleusDataSourceFactory

Interface for a DataSourceFactory for use within DataNucleus.


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

Method Detail

makePooledDataSource

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

Parameters:
omfCtx - OMF Context
Returns:
The DataSource
Throws:
java.lang.Exception - Thrown if an error occurs during creation


Copyright © 2009. All Rights Reserved.