org.firebirdsql.pool

Interface PooledConnectionManager

Known Implementing Classes:
AbstractFBConnectionPoolDataSource

public interface PooledConnectionManager

Manager of pooled connections. Class implementing this interface allocates * physical connections to the database. * * @author Roman Rokytskyy

Method Summary

PooledObject
allocateConnection(Object key)
Allocate pooled connection using specified user name and password.

Method Details

allocateConnection

public PooledObject allocateConnection(Object key)
            throws SQLException
Allocate pooled connection using specified user name and password. * * @param userName user name that will be used to access database. * @param password password corresponding to the specified user name. * * @return instance of javax.sql.PooledConnection. * * @throws SQLException if something went wrong.

Copyright B) 2001 David Jencks and other authors. All rights reserved.