|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--org.apache.log4j.spi.LoggingEvent
|
+--org.apache.log4j.examples.appserver.AppServerLoggingEvent
Represents logging events for application servers. When an affirmative
logging decision is made, a LoggingEvent instance is
created. This sub-class of LoggingEvent provides
for a few additional attributes:
アプリケーションサーバーのロギング・イベントを表します。
断定的にロギングが決定する時、LoggingEvent のインスタンスが生成されます。
この LogginEvent のサブクラスはいくつかの追加属性を必要とします:
This class is used to add some application server related attributes
to those attributes already provided by log4j. It is instanciated by
AppServerCategory.forcedLog methods.
このクラスは、いくつかのアプリケーションサーバー関連属性を log4j ですでに提供されている時点での属性に追加するために使用されます。
AppServerCategory.forcedLog メソッドにより具体化されます。
| フィールドの概要 | |
String |
component
Name of component from which this event originated. |
String |
hostname
Hostname of machine from which this event originated. |
String |
server
Name of server from which this event originated. |
String |
version
Version name of server/component. |
| クラス org.apache.log4j.spi.LoggingEvent から継承したフィールド |
category, categoryName, fqnOfCategoryClass, priority, timeStamp |
| コンストラクタの概要 | |
AppServerLoggingEvent(String fqnOfCategoryClass,
AppServerCategory category,
Priority priority,
Object message,
Throwable throwable)
Instantiate an AppServerLoggingEvent from the supplied parameters. |
|
| クラス org.apache.log4j.spi.LoggingEvent から継承したメソッド |
getLocationInformation, getMessage, getNDC, getRenderedMessage, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public String hostname
このイベントが発生するマシンのホスト名。
public String component
このイベントが発生するコンポーネント名。
public String server
このイベントが発生するサーバー名。 この属性は CORBA/EJB の環境に密接に関連します。
public String version
サーバー/コンポーネントのバージョン名。
| コンストラクタの詳細 |
public AppServerLoggingEvent(String fqnOfCategoryClass,
AppServerCategory category,
Priority priority,
Object message,
Throwable throwable)
与えられたパラメータを使用して AppServerLoggingEvent をインスタンス化します。
All the fields of
AppServerLoggingEvent are obtained from
AppServerCategory or filled when actually needed.
AppServerLoggingEvent のすべてのフィールドは、AppServerCategory からとりだされるか、実際に必要とされるときに満たされます。
fqnOfCategoryClass - The Category class name.category - The category of this event.priority - The priority of this event.message - The message of this event.throwable - The throwable of this event.fqnOfCategoryClass - カテゴリークラス名category - このイベントのカテゴリーpriority - このイベントの優先度message - このイベントのメッセージthrowable - このイベントの例外
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||