org.geotools.arcsde.pool
Class SessionPoolFactory

Object
  extended by SessionPoolFactory

public class SessionPoolFactory
extends Object

SessionPool factory.

Author:
Gabriel Roldan
Module:

Method Summary
 SessionPool createPool(ArcSDEConnectionConfig config)
          Creates a connection pool factory for the given connection parameters.
static SessionPoolFactory getInstance()
          Returns a connection pool factory instance
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SessionPoolFactory getInstance()
Returns a connection pool factory instance

Returns:
the connection pool factory singleton

createPool

public SessionPool createPool(ArcSDEConnectionConfig config)
                       throws IOException
Creates a connection pool factory for the given connection parameters.

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:
IOException - if the pool needs but can't be created


Copyright © 1996-2009 Geotools. All Rights Reserved.