org.firebirdsql.pool
Interface PooledConnectionManager
- All Known Implementing Classes:
- AbstractFBConnectionPoolDataSource
public interface PooledConnectionManager
Manager of pooled connections. Class implementing this interface allocates
physical connections to the database.
- Author:
- Roman Rokytskyy
allocateConnection
PooledObject allocateConnection(java.lang.Object key)
throws java.sql.SQLException
- Allocate pooled connection using specified user name and password.
- Parameters:
userName
- user name that will be used to access database.password
- password corresponding to the specified user name.
- Returns:
- instance of
PooledConnection
.
- Throws:
java.sql.SQLException
- if something went wrong.
Copyright © 2001 David Jencks and other authors. All rights reserved.