org.geotools.arcsde.session
Class SessionPoolFactory

Object
  extended by SessionPoolFactory
All Implemented Interfaces:
ISessionPoolFactory

public class SessionPoolFactory
extends Object
implements ISessionPoolFactory

SessionPool factory.

Author:
Gabriel Roldan
Module:

Method Summary
 ISessionPool createPool(ArcSDEConnectionConfig config)
          Creates a connection pool factory for the given connection parameters.
static ISessionPoolFactory 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 ISessionPoolFactory getInstance()
Returns a connection pool factory instance

Returns:
the connection pool factory singleton

createPool

public ISessionPool createPool(ArcSDEConnectionConfig config)
                        throws IOException
Description copied from interface: ISessionPoolFactory
Creates a connection pool factory for the given connection parameters.

Specified by:
createPool in interface ISessionPoolFactory
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.