- すべての実装されたインタフェース:
Serializable,Cloneable,DescriptorRead,OpenMBeanConstructorInfo
- 導入されたバージョン:
- 1.5
- 関連項目:
-
フィールドのサマリー
クラス javax.management.MBeanFeatureInfoで宣言されたフィールド
description, name -
コンストラクタのサマリー
コンストラクタコンストラクタ説明OpenMBeanConstructorInfoSupport(String name, String description, OpenMBeanParameterInfo[] signature) 指定されたname、description、およびsignatureを持つ公開MBeanのクラスのコンストラクタを記述する、OpenMBeanConstructorInfoSupportインスタンスを構築します。OpenMBeanConstructorInfoSupport(String name, String description, OpenMBeanParameterInfo[] signature, Descriptor descriptor) 指定されたname、description、signature、およびdescriptorで公開MBeanのクラスのコンストラクタを記述する、OpenMBeanConstructorInfoSupportインスタンスを構築します。 -
メソッドのサマリー
クラス javax.management.MBeanConstructorInfoで宣言されたメソッド
clone, getSignatureクラス javax.management.MBeanFeatureInfoで宣言されたメソッド
getDescription, getDescriptor, getNameインタフェース javax.management.openmbean.OpenMBeanConstructorInfoで宣言されたメソッド
getDescription, getName, getSignature
-
コンストラクタの詳細
-
OpenMBeanConstructorInfoSupport
public OpenMBeanConstructorInfoSupport(String name, String description, OpenMBeanParameterInfo[] signature) 指定された
name、description、およびsignatureを持つ公開MBeanのクラスのコンストラクタを記述する、OpenMBeanConstructorInfoSupportインスタンスを構築します。signature配列パラメータは内部的にコピーされるため、signatureで参照される配列へのその後の変更はこのインスタンスには影響しません。- パラメータ:
name- nullまたは空文字列は使用できない。description- nullまたは空文字列は使用できない。signature- 記述するパラメータが存在しない場合はnullまたは空文字列でもよい。- throws:
IllegalArgumentException-nameまたはdescriptionがnullまたは空のStringの場合。ArrayStoreException-signatureがMBeanParameterInfoのサブクラスのインスタンスの配列でない場合。
-
OpenMBeanConstructorInfoSupport
public OpenMBeanConstructorInfoSupport(String name, String description, OpenMBeanParameterInfo[] signature, Descriptor descriptor) 指定された
name、description、signature、およびdescriptorで公開MBeanのクラスのコンストラクタを記述する、OpenMBeanConstructorInfoSupportインスタンスを構築します。signature配列パラメータは内部的にコピーされるため、signatureで参照される配列へのその後の変更はこのインスタンスには影響しません。- パラメータ:
name- nullまたは空文字列は使用できない。description- nullまたは空文字列は使用できない。signature- 記述するパラメータが存在しない場合はnullまたは空文字列でもよい。descriptor- コンストラクタの記述子。 nullの場合があり、これは空の記述子と同等。- throws:
IllegalArgumentException-nameまたはdescriptionがnullまたは空のStringの場合。ArrayStoreException-signatureがMBeanParameterInfoのサブクラスのインスタンスの配列でない場合。- 導入されたバージョン:
- 1.6
-
-
メソッドの詳細
-
equals
public boolean equals(Object obj) 指定された
objパラメータとこのOpenMBeanConstructorInfoSupportインスタンスが等しいかどうかを比較します。次のすべての条件が満たされている場合に限り、
trueを返します。objがnullでないobjがOpenMBeanConstructorInfoインタフェースも実装している- 名前が等しい
- シグニチャが等しい
equalsメソッドは、OpenMBeanConstructorInfoインタフェースの異なった実装であるobjパラメータに対して正常に機能します。- 定義:
equals、インタフェースOpenMBeanConstructorInfo- オーバーライド:
equals、クラスMBeanConstructorInfo- パラメータ:
obj- このOpenMBeanConstructorInfoSupportインスタンスと等しいかどうかを比較するオブジェクト。- 戻り値:
- 指定されたオブジェクトがこの
OpenMBeanConstructorInfoSupportインスタンスと等しい場合はtrue。 - 関連項目:
-
hashCode
public int hashCode()この
OpenMBeanConstructorInfoSupportインスタンスのハッシュ・コード値を返します。OpenMBeanConstructorInfoSupportインスタンスのハッシュ・コードは、equalsの比較で使用されたすべての情報要素(シグニチャhashCodeはjava.util.Arrays.asList(this.getSignature).hashCode()の呼出しによって計算される)のハッシュ・コードの合計です。これにより、
Object.hashCode()メソッドの一般規約によって要求される、任意の2つのOpenMBeanConstructorInfoSupportインスタンスt1とt2で、t1.equals(t2)であればt1.hashCode()==t2.hashCode()となることが保証されます。OpenMBeanConstructorInfoインタフェースを実装する別のクラス・インスタンスが、equals(java.lang.Object)で定義されているように、このOpenMBeanConstructorInfoSupportインスタンスと等しくなる場合もあります。しかし、計算方法が異なっているため、ハッシュ・コードも異なっている可能性があります。OpenMBeanConstructorInfoSupportインスタンスは不変で、このインスタンスのハッシュ・コードは、hashCodeの最初の呼出し時に1回だけ計算されます。その後の呼出しには、同じ値が返されます。- 定義:
hashCode、インタフェースOpenMBeanConstructorInfo- オーバーライド:
hashCode、クラスObject- 戻り値:
- この
OpenMBeanConstructorInfoSupportインスタンスのハッシュ・コード値 - 関連項目:
-
toString
public String toString()この
OpenMBeanConstructorInfoSupportインスタンスの文字列表現を返します。この文字列表現は、このクラスの名前(
javax.management.openmbean.OpenMBeanConstructorInfoSupport)、記述されたコンストラクタの名前とシグニチャ、およびその記述子の文字列表現で構成されます。OpenMBeanConstructorInfoSupportインスタンスは不変で、このインスタンスの文字列表現は、toStringの最初の呼出し時に1回だけ計算されます。その後の呼出しには、同じ値が返されます。- 定義:
toString、インタフェースOpenMBeanConstructorInfo- オーバーライド:
toString、クラスObject- 戻り値:
- この
OpenMBeanConstructorInfoSupportインスタンスの文字列表現
-