インタフェース
javax.sql.ConnectionEventListenerの使用
-
ConnectionEventListenerを使用しているパッケージ パッケージ 説明 javax.sql Java™プログラミング言語によるサーバー側のデータ・ソースへのアクセスと処理のためのAPIを提供します。 -
-
javax.sqlでのConnectionEventListenerの使用
ConnectionEventListener型のパラメータを持つjavax.sql内のメソッド 修飾子と型 メソッド 説明 void
PooledConnection. addConnectionEventListener(ConnectionEventListener listener)
指定したイベント・リスナーを登録して、このPooledConnection
オブジェクトでイベントが発生したときに通知されるようにします。void
PooledConnection. removeConnectionEventListener(ConnectionEventListener listener)
指定したイベント・リスナーを、このPooledConnection
オブジェクトでイベントが発生したときに通知されるコンポーネントのリストから削除します。
-