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