|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanConstructorInfo
javax.management.modelmbean.ModelMBeanConstructorInfo
public class ModelMBeanConstructorInfo
ModelMBeanConstructorInfo オブジェクトは、ModelMBean のコンストラクタを説明します。これは、関連 Descriptor を持ち、DescriptorAccess インタフェースを実装した ModelMBeanConstructorInfo のサブクラスです。
記述子のフィールドは以下のように定義済みですが、この内容に限定されません。persistPolicy フィールドと currencyTimeLimit フィールドは、このコンストラクタに対して有効ではありません。デフォルトの記述子には、name、descriptorType、displayName、および role フィールドがあります。name : コンストラクタ名 descriptorType : 必ず operation role : 必ず constructor displayName : 人間が読める形式のコンストラクタ名 visibility : 1 〜 4 の値のうち 1: 常に可視 4: ほとんど不可視 presentationString : オペレーションの表現方法を説明する XML 形式の文字列
| フィールドの概要 |
|---|
| クラス javax.management.MBeanFeatureInfo から継承されたフィールド |
|---|
description, name |
| コンストラクタの概要 | |
|---|---|
ModelMBeanConstructorInfo(String description,
Constructor constructorMethod)
デフォルトの記述子で MBeanConstructorInfo オブジェクトを構築します。 |
|
ModelMBeanConstructorInfo(String description,
Constructor constructorMethod,
Descriptor descriptor)
MBeanConstructorInfo オブジェクトを構築します。 |
|
ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature)
デフォルトの記述子で ModelMBeanConstructorInfo オブジェクトを構築します。 |
|
ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature,
Descriptor descriptor)
MBeanConstructorInfo オブジェクトを構築します。 |
|
| メソッドの概要 | |
|---|---|
Object |
clone()
この ModelMBeanConstructorInfo を複製して新しい ModelMBeanConstructorInfo を作成し、返します。 |
Descriptor |
getDescriptor()
関連 Descriptor のコピーを返します。 |
void |
setDescriptor(Descriptor inDescriptor)
ModelMBeanConstructorInfo に関連付けられた Descriptor (完全置換) を設定します。 |
String |
toString()
人間が読める形式の ModelMBeanConstructorInfo のコンテンツ全体を含む文字列を返します。 |
| クラス javax.management.MBeanConstructorInfo から継承されたメソッド |
|---|
equals, getSignature, hashCode |
| クラス javax.management.MBeanFeatureInfo から継承されたメソッド |
|---|
getDescription, getName |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ModelMBeanConstructorInfo(String description,
Constructor constructorMethod)
description - 人間が読める形式のコンストラクタの説明constructorMethod - MBean コンストラクタを記述する java.lang.reflect.Method オブジェクト
public ModelMBeanConstructorInfo(String description,
Constructor constructorMethod,
Descriptor descriptor)
description - 人間が読める形式のコンストラクタの説明constructorMethod - ModelMBean コンストラクタを記述する java.lang.reflect.Method オブジェクトdescriptor - この ModelMBeanConstructorInfo インスタンス用として適切なメタデータを含む Descriptor インスタンス。null の場合、デフォルトの記述子が作成される。displayName フィールドを含まない記述子には、デフォルト値の displayName フィールドが追加される
RuntimeOperationsException - IllegalArgumentException をラップする。記述子が無効である場合、記述子フィールド name が name パラメータと等しくない場合、記述子フィールド DescriptorType が operation と等しくない場合、または記述子フィールド role が constructor と等しくない場合
public ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature)
name - コンストラクタの名前description - 人間が読める形式のコンストラクタの説明signature - コンストラクタのパラメータ (引数) を説明する MBeanParameterInfo オブジェクト配列
public ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature,
Descriptor descriptor)
name - コンストラクタの名前description - 人間が読める形式のコンストラクタの説明signature - コンストラクタのパラメータ (引数) を説明する MBeanParameterInfo オブジェクトdescriptor - この MBeanConstructorInfo インスタンス用として適切なメタデータを含む Descriptor インスタンス。null の場合、デフォルトの記述子が作成される。displayName フィールドを含まない記述子には、デフォルト値の displayName フィールドが追加される
RuntimeOperationsException - IllegalArgumentException をラップする。記述子が無効である場合、記述子フィールド name が name パラメータと等しくない場合、記述子フィールド DescriptorType が operation と等しくない場合、または記述子フィールド role が constructor と等しくない場合| メソッドの詳細 |
|---|
public Object clone()
MBeanConstructorInfo 内の cloneCloneablepublic Descriptor getDescriptor()
DescriptorAccess 内の getDescriptorsetDescriptor(javax.management.Descriptor)public void setDescriptor(Descriptor inDescriptor)
DescriptorAccess 内の setDescriptorinDescriptor - ModelMBeanConstructor に関連付けられた Descriptor を置換する。displayName フィールドを持たない記述子には、displayName フィールドがデフォルト値で追加される
RuntimeOperationsException - IllegalArgumentException をラップする。記述子が無効である場合、記述子フィールド name が name パラメータと等しくない場合、記述子フィールド DescriptorType が operation と等しくない場合、または記述子フィールド role が constructor と等しくない場合getDescriptor()public String toString()
Object 内の toString
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。