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