org.osjava.sj.loader
Class PoolSetup

java.lang.Object
  extended by org.osjava.sj.loader.PoolSetup

public class PoolSetup
extends Object

This is a wrapper for the Pooling functionality, currently provided by Jakarta DBCP. Having the wrapper allows the dependency to be optional.


Constructor Summary
PoolSetup()
           
 
Method Summary
static String getUrl(String pool)
           
static void setupConnection(String pool, String url, String username, String password, Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolSetup

public PoolSetup()
Method Detail

setupConnection

public static void setupConnection(String pool,
                                   String url,
                                   String username,
                                   String password,
                                   Properties properties)
                            throws SQLException
Throws:
SQLException

getUrl

public static String getUrl(String pool)


Copyright © 2003-2008 OSJava. All Rights Reserved.