|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectjawprof.recorder.AbstractRecorder
jawprof.recorder.PersistentRecorder
jawprof.recorder.FormatRecorder
jawprof.recorder.CommonsLoggingRecorder
Jakarta Commons Logging を使用してトランザクションを記録します. Jakarta Commons Logging につ いては http://www.apache.org/ を参照してください.
このクラスを利用するためには, commons-logging.properties ファイルを準備して Commons Logging の動作を決定する必要があります. Commons Logging は実装ロガーを伴って利用することが一般的で す。この実装ロガーとして Log4J を利用する場合は, log4j.properties ファイルに次のように記述 することで, このクラスを利用することができます.
log4j.category.jawprof.CommonsLoggingRecorder=INFO
| コンストラクタの概要 | |
CommonsLoggingRecorder(JawprofContext context)
設定されたフォーマットで, CommonsLogging へ出力する Recorder を作成します. |
|
| メソッドの概要 | |
protected void |
printLapRecord(java.lang.String message)
フォーマットされたメッセージを出力します. |
protected void |
printStartRecord(java.lang.String message)
フォーマットされたメッセージを出力します. |
protected void |
printStopRecord(java.lang.String message)
フォーマットされたメッセージを出力します. |
void |
saveGroupMap(java.lang.String group,
java.util.Collection types)
引数で与えられたトランザクショングループに所属するトランザクション種別の所属情報を保存し ます. |
| クラス jawprof.recorder.FormatRecorder から継承したメソッド |
persist |
| クラス jawprof.recorder.PersistentRecorder から継承したメソッド |
save |
| クラス jawprof.recorder.AbstractRecorder から継承したメソッド |
hold, release |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public CommonsLoggingRecorder(JawprofContext context)
context - 設定情報| メソッドの詳細 |
public void saveGroupMap(java.lang.String group,
java.util.Collection types)
Recorder 内の saveGroupMapFormatRecorder 内の saveGroupMapgroup - トランザクショングループtypes - 所属するトランザクション種別のコレクションprotected void printStartRecord(java.lang.String message)
FormatRecorder 内の printStartRecordmessage - フォーマットされた文字列protected void printStopRecord(java.lang.String message)
FormatRecorder 内の printStopRecordmessage - フォーマットされた文字列protected void printLapRecord(java.lang.String message)
FormatRecorder 内の printLapRecordmessage - フォーマットされた文字列
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||