インタフェース
javax.sql.ConnectionEventListenerの使用
ConnectionEventListenerを使用するパッケージ
-
javax.sqlでのConnectionEventListenerの使用
型ConnectionEventListenerのパラメータを持つjavax.sqlのメソッド修飾子と型メソッド説明voidPooledConnection.addConnectionEventListener(ConnectionEventListener listener) 指定したイベント・リスナーを登録して、このPooledConnectionオブジェクトでイベントが発生したときに通知されるようにします。voidPooledConnection.removeConnectionEventListener(ConnectionEventListener listener) 指定したイベント・リスナーを、このPooledConnectionオブジェクトでイベントが発生したときに通知されるコンポーネントのリストから削除します。