package pt.iscte.ci.aop.pooling; import java.sql.Connection; import java.sql.SQLException; /** * * This code has been adapted from the book AspectJ in Action. * * @author Paulo Zenida * */ public interface DBConnectionPool { public Connection getConnection(final String url, final String username, final String password) throws SQLException; public boolean putConnection(final Connection connection); public void registerConnection(final Connection connection, final String url, final String username, final String password); }