jp.co.fujitsu.reffi.client.nexaweb.logconsumer
クラス DialogLogConsumer

java.lang.Object
  上位を拡張 jp.co.fujitsu.reffi.client.nexaweb.logconsumer.DialogLogConsumer
すべての実装されたインタフェース:
LogConsumer

public class DialogLogConsumer
extends Object
implements LogConsumer

[概 要]

Nexaweb内部エラーを出力するコダイアログ出力クラス

[詳 細]

nexaweb-client.xmlの以下に使用するLogConsumerクラスを設定。

[備 考]

[環 境] JDK 6.0 Update 11

Copyright (c) 2008-2009 FUJITSU Japan All rights reserved.

使用例)
  <log-configuration default-log-level="exception">
    <consumers>
      <consumer class="jp.co.fujitsu.reffi.client.log.consumer.DialogLogConsumer"/>
    </consumers>
  </log-configuration>
 

作成者:
Project Reffi

コンストラクタの概要
DialogLogConsumer()
           
 
メソッドの概要
 void destroy()
          [概 要] 終了処理 [詳 細] ログコンシューマの終了処理を行います。
 void init(Object obj)
          [概 要] 初期化処理 [詳 細] ダイアログの初期化を行います。
 void log(LogEvent logevent)
          [概 要] ログ出力処理 [詳 細] ログイベントからログを取得、出力します。
 void onClose()
          [概 要] クローズ処理 [詳 細] ダイアログのクローズ処理を行います。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DialogLogConsumer

public DialogLogConsumer()
メソッドの詳細

init

public void init(Object obj)

[概 要]

初期化処理

[詳 細]

ダイアログの初期化を行います。 本クラスはMCOとなるため、本クラスが「dialogLogConsumer」として登録されます。

[備 考]

定義:
インタフェース LogConsumer 内の init
パラメータ:
obj - オブジェクト
関連項目:
LogConsumer.init(java.lang.Object)

log

public void log(LogEvent logevent)

[概 要]

ログ出力処理

[詳 細]

ログイベントからログを取得、出力します。

[備 考]

定義:
インタフェース LogConsumer 内の log
パラメータ:
logevent - ログイベント
関連項目:
LogConsumer.log(com.nexaweb.util.LogEvent)

destroy

public void destroy()

[概 要]

終了処理

[詳 細]

ログコンシューマの終了処理を行います。

[備 考]

定義:
インタフェース LogConsumer 内の destroy
関連項目:
LogConsumer.destroy()

onClose

public void onClose()

[概 要]

クローズ処理

[詳 細]

ダイアログのクローズ処理を行います。 クローズをした時点でコンシューマは破棄されません。

[備 考]



Copyright(C) Fujitsu All Rights Reserved.