JavaTM Platform
Standard Ed. 6

类 javax.management.IntrospectionException
的使用

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

javax.management 中 IntrospectionException 的使用
 

抛出 IntrospectionException 的 javax.management 中的方法
 MBeanInfo MBeanServer.getMBeanInfo(ObjectName name)
           
 MBeanInfo MBeanServerConnection.getMBeanInfo(ObjectName name)
          此方法发现了 MBean 为管理而公开的属性和操作。
 

抛出 IntrospectionException 的 javax.management 中的构造方法
MBeanAttributeInfo(String name, String description, Method getter, Method setter)
          此构造方法带有简单属性的名称,以及读取和写入属性的 Method 对象。
 

javax.management.modelmbean 中 IntrospectionException 的使用
 

抛出 IntrospectionException 的 javax.management.modelmbean 中的构造方法
ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter)
          构造具有默认描述符的 ModelMBeanAttributeInfo 对象。
ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter, Descriptor descriptor)
          构造 ModelMBeanAttributeInfo 对象。
 

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

抛出 IntrospectionException 的 javax.management.remote.rmi 中的方法
 MBeanInfo RMIConnection.getMBeanInfo(ObjectName name, Subject delegationSubject)
          处理 MBeanServerConnection.getMBeanInfo(ObjectName) 方法。
 MBeanInfo RMIConnectionImpl.getMBeanInfo(ObjectName name, Subject delegationSubject)
           
 MBeanInfo RMIConnectionImpl_Stub.getMBeanInfo(ObjectName $param_ObjectName_1, Subject $param_Subject_2)
           
 


JavaTM Platform
Standard Ed. 6

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

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