org.geotools.arcsde.session
Interface ISessionPoolFactory

All Known Implementing Classes:
SessionPoolFactory

public interface ISessionPoolFactory

Factory interface for ISessionPool.

A specific ISessionPool factory can be injected when using JNDI through the sessionPoolFactory parameter. See ArcSDEConnectionFactory.

Since:
2.5.7
Author:
Gabriel Roldan (OpenGeo)
Module:
modules/plugin/common (gt-common.jar)

Method Summary
 ISessionPool createPool(ArcSDEConnectionConfig config)
          Creates a connection pool factory for the given connection parameters.
 

Method Detail

createPool

ISessionPool 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-2010 Geotools. All Rights Reserved.