类的用途
javax.management.Attribute
使用 Attribute 的包
-
Attribute 在 javax.management 中的用法
返回类型中包含 Attribute 类型参数的 javax.management 中的方法javax.management 中的方法,参数类型为 Attribute修饰符和类型方法描述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) javax.management 中的构造函数参数,类型参数为 Attribute修饰符构造方法描述AttributeList(List<Attribute> list) 构造一个包含List指定元素的AttributeList,按照它们由List的迭代器返回的顺序。 -
Attribute 在 javax.management.modelmbean 中的用法
javax.management.modelmbean 中的方法,参数类型为 Attribute修饰符和类型方法描述voidModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) 将包含属性的旧值和新值的 attributeChangeNotification 发送到 ModelMBean 上已注册的 AttributeChangeNotification 监听。voidRequiredModelMBean.sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal) voidRequiredModelMBean.setAttribute(Attribute attribute) 设置命名 ModelMBean 的特定属性的值。