KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > jdbcx > JdbcConnectionListener


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.jdbcx;
6
7 import java.sql.SQLException JavaDoc;
8
9 import org.h2.jdbc.JdbcConnection;
10
11 public interface JdbcConnectionListener {
12     
13     // TODO pooled connection: make sure fatalErrorOccured is called in the right situations
14
void fatalErrorOccured(JdbcConnection conn, SQLException JavaDoc e) throws SQLException JavaDoc;
15     
16     void closed(JdbcConnection conn);
17 }
18
Popular Tags