org.jpox.store.rdbms.datasource.proxool
Class ProxoolDataSourceFactory

java.lang.Object
  extended by org.jpox.store.rdbms.datasource.proxool.ProxoolDataSourceFactory
All Implemented Interfaces:
org.jpox.store.rdbms.datasource.JPOXDataSourceFactory

public class ProxoolDataSourceFactory
extends java.lang.Object
implements org.jpox.store.rdbms.datasource.JPOXDataSourceFactory

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/)


Field Summary
static org.jpox.util.Localiser LOCALISER
          Localisation of messages.
 
Constructor Summary
ProxoolDataSourceFactory()
           
 
Method Summary
 javax.sql.DataSource makePooledDataSource(org.jpox.OMFContext omfCtx)
          Method to make a Proxool DataSource for use internally in JPOX.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

public static final org.jpox.util.Localiser LOCALISER
Localisation of messages.

Constructor Detail

ProxoolDataSourceFactory

public ProxoolDataSourceFactory()
Method Detail

makePooledDataSource

public javax.sql.DataSource makePooledDataSource(org.jpox.OMFContext omfCtx)
Method to make a Proxool DataSource for use internally in JPOX.

Specified by:
makePooledDataSource in interface org.jpox.store.rdbms.datasource.JPOXDataSourceFactory
Parameters:
omfCtx - OMFContext
Returns:
The DataSource
Throws:
java.lang.Exception - Thrown if an error occurs during creation


Copyright © -2008 . All Rights Reserved.