com.infoengine.jdbc
Interface PoolProcessor

All Known Implementing Classes:
ResourcePool

public interface PoolProcessor

This interface provides two methods that you must implement to get your connection pooling to work with the existing code. You will need to import your own Connection object here to close a connection.


Method Summary
 void closeConnection(Connection connection)
           
 Connection createConnection(String url, String user, String passwd)
           
 

Method Detail

createConnection

public Connection createConnection(String url,
                                   String user,
                                   String passwd)
                            throws IEException
Throws:
IEException

closeConnection

public void closeConnection(Connection connection)
                     throws IEException
Throws:
IEException