JavaTM 2 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 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。