JavaTM Platform
Standard Ed. 6

类 javax.management.AttributeList
的使用

使用 AttributeList 的软件包
javax.management 提供 Java Management Extensions 的核心类。 
javax.management.modelmbean 提供了 ModelMBean 类的定义。 
javax.management.remote.rmi RMI 连接器是供 JMX Remote API 使用的一种连接器,后者使用 RMI 将客户端请求传输到远程 MBean 服务器。 
 

javax.management 中 AttributeList 的使用
 

返回 AttributeList 的 javax.management 中的方法
 AttributeList MBeanServer.getAttributes(ObjectName name, String[] attributes)
           
 AttributeList MBeanServerConnection.getAttributes(ObjectName name, String[] attributes)
          获得指定 MBean 的多个属性值。
 AttributeList DynamicMBean.getAttributes(String[] attributes)
          获得 Dynamic MBean 多个属性的值。
 AttributeList StandardMBean.getAttributes(String[] attributes)
           
 AttributeList DynamicMBean.setAttributes(AttributeList attributes)
          设置 Dynamic MBean 多个属性的值。
 AttributeList StandardMBean.setAttributes(AttributeList attributes)
           
 AttributeList MBeanServer.setAttributes(ObjectName name, AttributeList attributes)
           
 AttributeList MBeanServerConnection.setAttributes(ObjectName name, AttributeList attributes)
          设置指定 MBean 的多个属性值。
 

参数类型为 AttributeList 的 javax.management 中的方法
 boolean AttributeList.addAll(AttributeList list)
          将指定 AttributeList 中的所有元素追加到列表的末尾,元素的顺序是指定 AttributeList 的 Iterator 所返回的顺序。
 boolean AttributeList.addAll(int index, AttributeList list)
          将指定 AttributeList 中的所有元素插入此列表,从指定的位置开始插入,元素的顺序是指定 Attribute 的 Iterator 所返回的顺序。
 AttributeList DynamicMBean.setAttributes(AttributeList attributes)
          设置 Dynamic MBean 多个属性的值。
 AttributeList StandardMBean.setAttributes(AttributeList attributes)
           
 AttributeList MBeanServer.setAttributes(ObjectName name, AttributeList attributes)
           
 AttributeList MBeanServerConnection.setAttributes(ObjectName name, AttributeList attributes)
          设置指定 MBean 的多个属性值。
 

参数类型为 AttributeList 的 javax.management 中的构造方法
AttributeList(AttributeList list)
          构造一个包含指定 AttributeList 元素的 AttributeList,元素的顺序是该 AttributeList 的迭代器所返回的顺序。
 

javax.management.modelmbean 中 AttributeList 的使用
 

返回 AttributeList 的 javax.management.modelmbean 中的方法
 AttributeList RequiredModelMBean.getAttributes(String[] attrNames)
          返回 ModelMBean 中几个属性的值。
 AttributeList RequiredModelMBean.setAttributes(AttributeList attributes)
          设置此 ModelMBean 的属性数组的值。
 

参数类型为 AttributeList 的 javax.management.modelmbean 中的方法
 AttributeList RequiredModelMBean.setAttributes(AttributeList attributes)
          设置此 ModelMBean 的属性数组的值。
 

javax.management.remote.rmi 中 AttributeList 的使用
 

返回 AttributeList 的 javax.management.remote.rmi 中的方法
 AttributeList RMIConnection.getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)
          处理 MBeanServerConnection.getAttributes(ObjectName, String[]) 方法。
 AttributeList RMIConnectionImpl.getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)
           
 AttributeList RMIConnectionImpl_Stub.getAttributes(ObjectName $param_ObjectName_1, String[] $param_arrayOf_String_2, Subject $param_Subject_3)
           
 AttributeList RMIConnection.setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)
          处理 MBeanServerConnection.setAttributes(ObjectName, AttributeList) 方法。
 AttributeList RMIConnectionImpl.setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)
           
 AttributeList RMIConnectionImpl_Stub.setAttributes(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)
           
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。