JavaTM Platform
Standard Ed. 6

javax.management
インタフェース DescriptorAccess

すべてのスーパーインタフェース:
DescriptorRead
既知の実装クラスの一覧:
ModelMBeanAttributeInfo, ModelMBeanConstructorInfo, ModelMBeanNotificationInfo, ModelMBeanOperationInfo

public interface DescriptorAccess
extends DescriptorRead

このインタフェースは、JMX コンポーネントに関連付けられた Descriptor クラスの記述子 (MBean、MBeanInfo、MBeanAttributeInfo、MBeanNotificationInfo、MBeanOperationInfo、MBeanParameterInfo) にアクセスする目的で使用されます。

ModelMBeans は、このインタフェースを、ModelMBeanInfo クラス内で広く利用します。

導入されたバージョン:
1.5

メソッドの概要
 void setDescriptor(Descriptor inDescriptor)
          Descriptor を設定します (完全置換)。
 
インタフェース javax.management.DescriptorRead から継承されたメソッド
getDescriptor
 

メソッドの詳細

setDescriptor

void setDescriptor(Descriptor inDescriptor)
Descriptor を設定します (完全置換)。

パラメータ:
inDescriptor - このインタフェースを実装するコンポーネントに関連付けられた Descriptor を置換する。inDescriptor が設定先の Info オブジェクトの型に適合しない場合、例外がスローされる。inDescriptor が null の場合、Descriptor はデフォルト値に戻る。デフォルト値には、少なくとも、記述子名と descriptorType が含まれる
関連項目:
DescriptorRead.getDescriptor()

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。