- java.lang.Object
- 
- javax.management.MBeanFeatureInfo
- 
- javax.management.MBeanNotificationInfo
- 
- javax.management.modelmbean.ModelMBeanNotificationInfo
 
 
 
- 
- すべての実装されたインタフェース:
- Serializable,- Cloneable,- DescriptorAccess,- DescriptorRead
 
 public class ModelMBeanNotificationInfo extends MBeanNotificationInfo implements DescriptorAccess ModelMBeanNotificationInfoオブジェクトは、ModelMBeanが発行する通知を記述します。 これは、関連Descriptorを持ち、Descriptorインタフェースを実装したMBeanNotificationInfoのサブクラスです。 記述子内のフィールドは次のように定義済みですが、この内容に限定されません。 この表で型がNumberである場合は、Longの10進数表現であるStringを使用することもできます。 名前 型 意味 name String 通知名。 descriptorType String 必ずnotification。 severity Number 0 - 6の値のうち0: 未知、1:回復不能、2:クリティカル、障害、3:メジャー、重大、4:マイナー、非重要、エラー、5:警告、6:通常、クリア済み、情報 messageID String メッセージ・テキストの一意のキー(翻訳、分析用)。 messageText String 通知テキスト。 log String T - メッセージをログに記録、F - メッセージを記録しない。 logfile String オペレーティング・システムに適した完全修飾ファイル名。 visibility Number 1 - 4の値のうち1: 常に可視4:ほとんど不可視。 presentationString String データ表現を可能にするためのXML形式の文字列。 デフォルトの記述子には、name、descriptorType、displayName、およびseverity(=6)フィールドが含まれます。 nameおよびdisplayNameフィールドのデフォルト値は、(ModelMBeanNotificationInfoコンストラクタの nameパラメータで指定された) Notificationクラスの名前です。このクラスのserialVersionUIDは -7445681389570207141Lです。- 導入されたバージョン:
- 1.5
- 関連項目:
- 直列化された形式
 
- 
- 
フィールドのサマリー- 
クラス javax.management.MBeanFeatureInfoで宣言されたフィールドdescription, name
 
- 
 - 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 ModelMBeanNotificationInfo(String[] notifTypes, String name, String description)デフォルトの記述子でModelMBeanNotificationInfoオブジェクトを構築します。ModelMBeanNotificationInfo(String[] notifTypes, String name, String description, Descriptor descriptor)ModelMBeanNotificationInfoオブジェクトを構築します。ModelMBeanNotificationInfo(ModelMBeanNotificationInfo inInfo)このModelMBeanNotificationInfoオブジェクトから新しいModelMBeanNotificationオブジェクトを構築します。
 - 
メソッドのサマリー修飾子と型 メソッド 説明 Objectclone()このModelMBeanNotificationInfoを複製して新しいModelMBeanNotificationInfoを作成し、返します。DescriptorgetDescriptor()ModelMBeanNotificationInfoに関連付けられたDescriptorのコピーを返します。voidsetDescriptor(Descriptor inDescriptor)ModelMBeanNotificationInfoに関連付けられたDescriptor (完全置換)を設定します。新しいDescriptorがnullの場合、関連付けられたDescriptorはデフォルトの記述子に戻ります。StringtoString()ModelMBeanNotificationInfoを含む人間が読める形式の文字列を返します。- 
クラス javax.management.MBeanNotificationInfoで宣言されたメソッドequals, getNotifTypes
 - 
クラス javax.management.MBeanFeatureInfoで宣言されたメソッドgetDescription, getName
 
- 
 
- 
- 
- 
コンストラクタの詳細- 
ModelMBeanNotificationInfopublic ModelMBeanNotificationInfo(String[] notifTypes, String name, String description) デフォルトの記述子でModelMBeanNotificationInfoオブジェクトを構築します。- パラメータ:
- notifTypes- 発行される可能性がある通知型を含むドット表記形式の文字配列。
- name- Notificationクラスの名前。
- description- 人間が読める形式のNotificationの説明。 オプション。
 
 - 
ModelMBeanNotificationInfopublic ModelMBeanNotificationInfo(String[] notifTypes, String name, String description, Descriptor descriptor) ModelMBeanNotificationInfoオブジェクトを構築します。- パラメータ:
- notifTypes- 発行される可能性がある通知型を含むドット表記形式の文字配列。
- name- Notificationクラスの名前。
- description- 人間が読める形式のNotificationの説明。 オプション。
- descriptor- このMBeanNotificationInfoインスタンス用として適切なメタデータを含むDescriptorインスタンス。 nullの場合、デフォルトの記述子が作成される。 記述子にdisplayNameフィールドまたはseverityフィールドが含まれない場合、見つからないフィールドがデフォルト値で追加される。
- 例外:
- RuntimeOperationsException-- IllegalArgumentExceptionをラップする場合。 記述子が無効である場合、記述子フィールドnameがパラメータnameと等しくない場合、記述子フィールドdescriptorTypeがnotificationと等しくない場合。
 
 - 
ModelMBeanNotificationInfopublic ModelMBeanNotificationInfo(ModelMBeanNotificationInfo inInfo) このModelMBeanNotificationInfoオブジェクトから新しいModelMBeanNotificationオブジェクトを構築します。- パラメータ:
- inInfo- 複製されるModelMBeanNotificationInfo
 
 
- 
 - 
メソッドの詳細- 
clonepublic Object clone() このModelMBeanNotificationInfoを複製して新しいModelMBeanNotificationInfoを作成し、返します。- オーバーライド:
- clone、クラス:- MBeanNotificationInfo
- 戻り値:
- このインスタンスの複製。
- 関連項目:
- Cloneable
 
 - 
getDescriptorpublic Descriptor getDescriptor() ModelMBeanNotificationInfoに関連付けられたDescriptorのコピーを返します。- 定義:
- getDescriptor、インタフェース:- DescriptorRead
- オーバーライド:
- getDescriptor、クラス:- MBeanFeatureInfo
- 戻り値:
- ModelMBeanNotificationInfoオブジェクトに関連付けられたDescriptor。
- 関連項目:
- setDescriptor(javax.management.Descriptor)
 
 - 
setDescriptorpublic void setDescriptor(Descriptor inDescriptor) ModelMBeanNotificationInfoに関連付けられたDescriptor (完全置換)を設定します。新しいDescriptorがnullの場合、関連付けられたDescriptorはデフォルトの記述子に戻ります。 Descriptorの割当て前には、妥当性検査が行われます。 新しいDescriptorが無効である場合、IllegalArgumentExceptionをラップするRuntimeOperationsExceptionがスローされます。- 定義:
- setDescriptor、インタフェース:- DescriptorAccess
- パラメータ:
- inDescriptor- ModelMBeanNotificationインタフェースに関連付けられたDescriptorを置換する
- 例外:
- RuntimeOperationsException- 無効なDescriptorの- IllegalArgumentExceptionをラップする場合。
- 関連項目:
- getDescriptor()
 
 
- 
 
-