クラス
javax.sql.ConnectionEventの使用
ConnectionEventを使用するパッケージ
-
javax.sqlでのConnectionEventの使用
型ConnectionEventのパラメータを持つjavax.sqlのメソッド修飾子と型メソッド説明voidConnectionEventListener.connectionClosed(ConnectionEvent event) アプリケーションがプールされた接続の表現上でcloseメソッドを呼び出したことを意味するConnectionEventListenerを通知します。voidConnectionEventListener.connectionErrorOccurred(ConnectionEvent event) 致命的エラーが発生し、プールされた接続が使用できなくなったことを意味するConnectionEventListenerを通知します。