KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > snaq > db > StatementListener


1 /*
2     DBPool - JDBC Connection Pool Manager
3     Copyright (c) Giles Winstanley
4 */

5 package snaq.db;
6
7 import java.sql.*;
8
9 /**
10  * Interface for a StatementListener.
11  * (Implemented to provide callback support for a CacheConnection object.)
12  * @author Giles Winstanley
13  */

14 interface StatementListener
15 {
16     /**
17      * Invoked when a Statement closes.
18      */

19     void statementClosed(CachedStatement s) throws SQLException;
20 }
21
Popular Tags