|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanNotificationInfo
javax.management.modelmbean.ModelMBeanNotificationInfo
public class ModelMBeanNotificationInfo
ModelMBeanNotificationInfo オブジェクトは、ModelMBean が発行する通知を記述します。これは、関連 Descriptor を持ち、Descriptor インタフェースを実装した MBeanNotificationInfo のサブクラスです。
記述子内のフィールドは次のように定義済みですが、この内容に限定されません。
name :通知名 descriptorType :必ず notification severity :0 〜 6 の値のうち 0:未知、1:回復不能、 2: クリティカル、障害、3:メジャー、重大、 4: マイナー、非重要、エラー、5:警告、 6: 通常、クリア済み、情報 messageID :メッセージテキストの一意のキー (翻訳、 分析用) messageText :通知テキスト log :T - メッセージをログに記録 F - メッセージを記録しない logfile :オペレーティングシステムに適した完全指定ファイル名の文字列 visibility :1 〜 4 の値のうち 1:常に可視 4:ほとんど不可視 presentationString :データ表現を可能にするための XML 形式の文字列デフォルトの記述子には、name、descriptorType、displayName、および severity(=6) フィールドが含まれます。
このクラスの serialVersionUID は -7445681389570207141L です。
| フィールドの概要 |
|---|
| クラス javax.management.MBeanFeatureInfo から継承されたフィールド |
|---|
description, name |
| コンストラクタの概要 | |
|---|---|
ModelMBeanNotificationInfo(ModelMBeanNotificationInfo inInfo)
この ModelMBeanNotificationInfo オブジェクトから新しい ModelMBeanNotification オブジェクトを構築します。 |
|
ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description)
デフォルトの記述子で ModelMBeanNotificationInfo オブジェクトを構築します。 |
|
ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description,
Descriptor descriptor)
ModelMBeanNotificationInfo オブジェクトを構築します。 |
|
| メソッドの概要 | |
|---|---|
Object |
clone()
この ModelMBeanNotificationInfo を複製して新しい ModelMBeanNotificationInfo を作成し、返します。 |
Descriptor |
getDescriptor()
ModelMBeanNotificationInfo に関連付けられた Descriptor のコピーを返します。 |
void |
setDescriptor(Descriptor inDescriptor)
ModelMBeanNotificationInfo に関連付けられた Descriptor (完全置換) を設定します。 |
String |
toString()
ModelMBeanNotificationInfo を含む人間が読める形式の文字列を返します。 |
| クラス javax.management.MBeanNotificationInfo から継承されたメソッド |
|---|
equals, getNotifTypes, hashCode |
| クラス javax.management.MBeanFeatureInfo から継承されたメソッド |
|---|
getDescription, getName |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description)
notifTypes - 発行される可能性がある通知型を含む ドット表記形式の文字配列name - Notification クラスの名前description - 人間が読める形式の Notification の説明オプション。
public ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description,
Descriptor descriptor)
notifTypes - 発行される可能性がある通知型を含む ドット表記形式の文字配列name - Notification クラスの名前description - 人間が読める形式の Notification の説明オプション。descriptor - この MBeanOperationInfo インスタンス用として 適切なメタデータを含む Descriptor インスタンス。null の場合、 デフォルトの記述子が作成される。displayName フィールドまたは severity フィールドを含まない記述子には、 デフォルト値の displayName フィールドまたは severity フィールドが 追加される
RuntimeOperationsException - IllegalArgumentException をラップする場合。記述子が無効である場合、 記述子フィールド name がパラメータ name と等しくない場合、 記述子フィールド DescriptorType が notification と等しくない場合public ModelMBeanNotificationInfo(ModelMBeanNotificationInfo inInfo)
inInfo - 複製される ModelMBeanNotificationInfo| メソッドの詳細 |
|---|
public Object clone()
MBeanNotificationInfo 内の cloneCloneablepublic Descriptor getDescriptor()
DescriptorRead 内の getDescriptorMBeanFeatureInfo 内の getDescriptorsetDescriptor(javax.management.Descriptor)public void setDescriptor(Descriptor inDescriptor)
DescriptorAccess 内の setDescriptorinDescriptor - ModelMBeanNotification インタフェースに関連付けられた Descriptor を 置換する
RuntimeOperationsException - 無効な Descriptor の IllegalArgumentException をラップするgetDescriptor()public String toString()
MBeanNotificationInfo 内の toString
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。