org.geotools.data.jdbc
Class ConnectionPoolManager

Object
  extended by ConnectionPoolManager

Deprecated. Use DataSource, DataSourceUtil and DataSourceFinder instead

public class ConnectionPoolManager
extends Object

Provides a Singleton manager of connection pools.

Author:
Sean Geoghegan, Defence Science and Technology Organisation, $Author: jive $
Module:
modules/library/jdbc (gt-jdbc.jar)

Method Summary
 void closeAll()
          Deprecated.  
 void free(ConnectionPool pool)
          Deprecated.  
 ConnectionPool getConnectionPool(ConnectionPoolDataSource cpds)
          Deprecated. Gets a ConnectionPool for a ConnectionPoolDataSource.
static ConnectionPoolManager getInstance()
          Deprecated. Gets the instance of the ConnectionPoolManager.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ConnectionPoolManager getInstance()
Deprecated. 
Gets the instance of the ConnectionPoolManager.

Returns:
The one and only instance of ConnectionPoolManager.

getConnectionPool

public ConnectionPool getConnectionPool(ConnectionPoolDataSource cpds)
Deprecated. 
Gets a ConnectionPool for a ConnectionPoolDataSource.

This method will return a connection pool that contains the ConnectionPoolDataSource. If a ConnectionPool exists that already contains the ConnectionPoolDataSource, it will be returned, otherwise a ConnectionPool will be created for the ConnectionPoolDataSource.

Parameters:
cpds - The ConnectionPoolDataSource to get a ConnectionPool for.
Returns:
The ConnectionPool.

free

public void free(ConnectionPool pool)
Deprecated. 

closeAll

public void closeAll()
Deprecated. 


Copyright © 1996-2009 Geotools. All Rights Reserved.