org.jminor.common.db.pool
Class ConnectionPools

java.lang.Object
  extended by org.jminor.common.db.pool.ConnectionPools

public final class ConnectionPools
extends Object

A factory class providing ConnectionPool instances


Method Summary
static ConnectionPool createPool(PoolableConnectionProvider connectionProvider, User user)
          Instantiates a new ConnectionPoolImpl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPool

public static ConnectionPool createPool(PoolableConnectionProvider connectionProvider,
                                        User user)
Instantiates a new ConnectionPoolImpl.

Parameters:
connectionProvider - the connection provider
user - the user this pool is based on
Returns:
a new connection pool