クラス
javax.management.Attributeの使用
-
Attributeを使用するパッケージ パッケージ 説明 javax.management Java Management Extensionsのコア・クラスを提供します。javax.management.modelmbean ModelMBeanクラスの定義を提供します。 -
-
javax.managementでのAttributeの使用
Attribute型の引数を持つ型を返すjavax.managementのメソッド 修飾子と型 メソッド 説明 List<Attribute>
AttributeList. asList()
このリストのビューをList<Attribute>
として返します。Attribute型のパラメータを持つjavax.managementのメソッド 修飾子と型 メソッド 説明 void
AttributeList. add(int index, Attribute object)
要素として指定された属性を指定された位置に挿入します。void
AttributeList. add(Attribute object)
リストの最後の要素として、指定されたAttribute
を追加します。void
AttributeList. set(int index, Attribute object)
指定された位置の要素を、指定された属性に設定します。void
DynamicMBean. setAttribute(Attribute attribute)
Dynamic MBeanの特定の属性の値を設定します。void
MBeanServer. setAttribute(ObjectName name, Attribute attribute)
void
MBeanServerConnection. setAttribute(ObjectName name, Attribute attribute)
指定されたMBeanの特定の属性の値を設定します。Attribute型の型引数を持つjavax.managementのコンストラクタ・パラメータ コンストラクタ 説明 AttributeList(List<Attribute> list)
指定されたAttributeList
の要素を、List
のイテレータによって返される順に格納するList
を構築します。 -
javax.management.modelmbeanでのAttributeの使用
Attribute型のパラメータを持つjavax.management.modelmbeanのメソッド 修飾子と型 メソッド 説明 void
ModelMBeanNotificationBroadcaster. sendAttributeChangeNotification(Attribute oldValue, Attribute newValue)
ModelMBean上の登録済みAttributeChangeNotificationリスナーに、属性の古い値と新しい値を含むattributeChangeNotificationを送信します。void
RequiredModelMBean. setAttribute(Attribute attribute)
指定されたModelMBeanの特定の属性の値を設定します。
-