org.asyrinx.brownie.jdbc
クラス LeakCheckConnection

java.lang.Object
  拡張org.asyrinx.brownie.core.util.Wrapper
      拡張org.asyrinx.brownie.jdbc.wrapper.ConnectionWrapper
          拡張org.asyrinx.brownie.jdbc.LeakCheckConnection
すべての実装インタフェース:
java.sql.Connection

public class LeakCheckConnection
extends ConnectionWrapper

このクラスのインスタンス生成時に例外をthrowしないで生成だけ行い、 finalize時にリークしていたら、生成しておいた例外のスタックトレースを出力します。

作成者:
Akima

入れ子クラスの概要
(パッケージプライベート)  class LeakCheckConnection.TraceException
           
 
フィールドの概要
 
クラス org.asyrinx.brownie.jdbc.wrapper.ConnectionWrapper から継承したフィールド
source
 
クラス org.asyrinx.brownie.core.util.Wrapper から継承したフィールド
wrapped
 
インタフェース java.sql.Connection から継承したフィールド
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
コンストラクタの概要
LeakCheckConnection(java.sql.Connection source)
          Constructor for LeakCheckConnection.
 
メソッドの概要
protected  void finalize()
           
 
クラス org.asyrinx.brownie.jdbc.wrapper.ConnectionWrapper から継承したメソッド
clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getSource, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 
クラス org.asyrinx.brownie.core.util.Wrapper から継承したメソッド
getCore, getCoreWrapped, getWrapped
 
クラス java.lang.Object から継承したメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LeakCheckConnection

public LeakCheckConnection(java.sql.Connection source)
Constructor for LeakCheckConnection.

パラメータ:
source -
メソッドの詳細

finalize

protected void finalize()
                 throws java.lang.Throwable
例外:
java.lang.Throwable
関連項目:
Object.finalize()


Copyright © 2004 asyrinx organization. All Rights Reserved.