| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 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(Attribute object)
添加指定的 Attribute 作为列表的最后一个元素。 | 
 void | 
AttributeList.add(int index,
    Attribute object)
插入指定的属性作为指定位置处的元素。  | 
 void | 
AttributeList.set(int index,
    Attribute object)
将指定位置的元素设置为指定的属性。  | 
 void | 
DynamicMBean.setAttribute(Attribute attribute)
设置 Dynamic MBean 的特定属性的值。  | 
 void | 
StandardMBean.setAttribute(Attribute attribute)
 | 
 void | 
MBeanServer.setAttribute(ObjectName name,
             Attribute attribute)
 | 
 void | 
MBeanServerConnection.setAttribute(ObjectName name,
             Attribute attribute)
设置指定 MBean 的特定属性值。  | 
| 类型变量类型为 Attribute 的 javax.management 中的构造方法参数 | |
|---|---|
AttributeList(List<Attribute> list)
构造一个包含指定 List 的元素的 AttributeList,这些元素按 List 的迭代器返回的顺序排列。 | 
|
| javax.management.modelmbean 中 Attribute 的使用 | 
|---|
| 参数类型为 Attribute 的 javax.management.modelmbean 中的方法 | |
|---|---|
 void | 
ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(Attribute oldValue,
                                Attribute newValue)
将包含属性的原有值和新值的 attributeChangeNotification 发送到 ModelMBean 上已注册的 AttributeChangeNotification 侦听器。  | 
 void | 
RequiredModelMBean.sendAttributeChangeNotification(Attribute inOldVal,
                                Attribute inNewVal)
 | 
 void | 
RequiredModelMBean.setAttribute(Attribute attribute)
设置指定的 ModelMBean 的指定属性值。  | 
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。