org.geotools.arcsde.pool
Class ArcSDEConnectionPoolFactory

Object
  extended by ArcSDEConnectionPoolFactory

Deprecated. sill here waiting for gce to switch to SessionPoolFactory

public class ArcSDEConnectionPoolFactory
extends Object

Singleton factory that maintains a single connection pool per set of connection parameters.

Author:
Gabriel Roldan
Module:

Method Summary
 void clear()
          Deprecated. Closes and removes all the existing connection pools
 ArcSDEConnectionPool createPool(ArcSDEConnectionConfig config)
          Deprecated. Creates a connection pool factory for the given connection parameters, or returns the existing one if there already exists one for that set of connection params.
protected  void finalize()
          Deprecated. Ensures proper closure of connection pools at this object's finalization stage.
static ArcSDEConnectionPoolFactory getInstance()
          Deprecated. Returns a connection pool factory instance
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ArcSDEConnectionPoolFactory getInstance()
Deprecated. 
Returns a connection pool factory instance

Returns:
the connection pool factory singleton

createPool

public ArcSDEConnectionPool createPool(ArcSDEConnectionConfig config)
                                throws DataSourceException
Deprecated. 
Creates a connection pool factory for the given connection parameters, or returns the existing one if there already exists one for that set of connection params.

Parameters:
config -  contains the connection parameters and pool preferences
Returns:
a pool for the given connection parameters, wether it already existed or had to be created.
Throws:
DataSourceException - if the pool needs but can't be created

clear

public void clear()
Deprecated. 
Closes and removes all the existing connection pools


finalize

protected void finalize()
Deprecated. 
Ensures proper closure of connection pools at this object's finalization stage.

Overrides:
finalize in class Object


Copyright © 1996-2009 Geotools. All Rights Reserved.