01: /*
02: DBPool - JDBC Connection Pool Manager
03: Copyright (c) Giles Winstanley
04: */
05: package snaq.db;
06:
07: import java.sql.*;
08:
09: /**
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: * Invoked when a Statement closes.
17: */
18: void statementClosed(CachedStatement s) throws SQLException;
19: }
|