org.aris.hldb.pools
Interface ConnectionProviderI

All Known Implementing Classes:
ConnectionPoolProvider, SimpleConProvider

public interface ConnectionProviderI

An interface for database connection pooling.

Version:
1.0
Author:
Konstantine Kougios

Method Summary
 java.sql.Connection allocConnection()
          Returns a connection object by this pool.
 

Method Detail

allocConnection

java.sql.Connection allocConnection()
                                    throws java.sql.SQLException
Returns a connection object by this pool. If there is no available connection and the pool is not full yet, it will create a new Connection. If the pool is full then it will reuse it's connection objects.

Returns:
A Connection object.
Throws:
java.sql.SQLException - -