java.lang.Object
javax.management.MBeanFeatureInfo
- すべての実装されたインタフェース:
Serializable,DescriptorRead
- 直系の既知のサブクラス:
MBeanAttributeInfo,MBeanConstructorInfo,MBeanNotificationInfo,MBeanOperationInfo,MBeanParameterInfo
public class MBeanFeatureInfo extends Object implements Serializable, DescriptorRead
MBean記述子オブジェクトに一般情報を提供します。 記述される内容は、属性、オペレーション、パラメータ、または通知です。 このクラスのインスタンスは不変です。 サブクラスは可変ですが、サブクラスの変更は推奨されていません。
- 導入されたバージョン:
- 1.5
- 関連項目:
- 直列化された形式
-
フィールドのサマリー
フィールド 修飾子と型 フィールド 説明 protected Stringdescription人間が読める形式の機能の説明。protected Stringname機能の名前。 -
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 MBeanFeatureInfo(String name, String description)MBeanFeatureInfoオブジェクトを構築します。MBeanFeatureInfo(String name, String description, Descriptor descriptor)MBeanFeatureInfoオブジェクトを構築します。 -
メソッドのサマリー
修飾子と型 メソッド 説明 booleanequals(Object o)このMBeanFeatureInfoを別のMBeanFeatureInfoと比較します。StringgetDescription()人間が読める形式の機能の説明を返します。DescriptorgetDescriptor()機能の記述子を返します。StringgetName()機能の名前を返します。
-
フィールド詳細
-
name
protected String name機能の名前。 サブクラスがこのフィールドを読み取るのではなくgetName()を呼び出し、それを変更しないようにすることをお勧めします。 -
description
protected String description人間が読める形式の機能の説明。 サブクラスがこのフィールドを読み取るのではなくgetDescription()を呼び出し、それを変更しないようにすることをお勧めします。
-
-
コンストラクタの詳細
-
MBeanFeatureInfo
MBeanFeatureInfoオブジェクトを構築します。 このコンストラクタはMBeanFeatureInfo(name, description,(Descriptor) nullと同等です。- パラメータ:
name- 機能の名前。description- 人間が読める形式の機能の説明。
-
MBeanFeatureInfo
public MBeanFeatureInfo(String name, String description, Descriptor descriptor)MBeanFeatureInfoオブジェクトを構築します。- パラメータ:
name- 機能の名前。description- 人間が読める形式の機能の説明。descriptor- 機能の記述子。 nullの場合があり、これは空の記述子と同等。- 導入されたバージョン:
- 1.6
-
-
メソッドの詳細
-
getName
public String getName()機能の名前を返します。- 戻り値:
- 機能の名前。
-
getDescription
public String getDescription()人間が読める形式の機能の説明を返します。- 戻り値:
- 人間が読める形式の機能の説明。
-
getDescriptor
public Descriptor getDescriptor()機能の記述子を返します。 戻り値を変更しても、元の記述子は影響を受けません。- 定義:
getDescriptor、インタフェース:DescriptorRead- 戻り値:
- 不変またはオリジナルのコピーである記述子。
- 導入されたバージョン:
- 1.6
-
equals
public boolean equals(Object o)このMBeanFeatureInfoを別のMBeanFeatureInfoと比較します。- オーバーライド:
equals、クラス:Object- パラメータ:
o- 比較対象のオブジェクト。- 戻り値:
oがMBeanFeatureInfoであり、そのgetName()、getDescription()、およびgetDescriptor()の各値がこのMBeanFeatureInfoと同等(同一である必要はない)の場合にだけtrue。- 関連項目:
Object.hashCode()、HashMap
-