|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一個 下一個 | 框架 無框架 |
使用 ReflectionException 的軟體套件 | |
---|---|
javax.management | 提供 Java Management Extensions 的核心類別。 |
javax.management.modelmbean | 提供了 ModelMBean 類別的定義。 |
javax.management.remote.rmi | RMI 連接器是供 JMX Remote API 使用的一種連接器,後者使用 RMI 將客戶端請求傳輸到遠端 MBean 伺服器。 |
javax.management 中 ReflectionException 的使用 |
---|
拋出 ReflectionException 的 javax.management 中的方法 | |
---|---|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name)
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name)
在 MBean 伺服器中實例化並註冊一個 MBean。 |
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
在 MBean 伺服器中實例化並註冊一個 MBean。 |
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
ObjectName loaderName)
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName)
在 MBean 伺服器中實例化並註冊一個 MBean。 |
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
在 MBean 伺服器中實例化並註冊一個 MBean。 |
ObjectInputStream |
MBeanServer.deserialize(String className,
byte[] data)
已過時。 使用 MBeanServer.getClassLoaderRepository() 來獲得類別載入器存儲資源庫並使用它進行反序列化。 |
ObjectInputStream |
MBeanServer.deserialize(String className,
ObjectName loaderName,
byte[] data)
已過時。 使用 getClassLoader 為反序列化獲得類別載入器。 |
Object |
MBeanServer.getAttribute(ObjectName name,
String attribute)
|
Object |
MBeanServerConnection.getAttribute(ObjectName name,
String attribute)
獲得指定 MBean 的特定屬性值。 |
Object |
DynamicMBean.getAttribute(String attribute)
獲得 Dynamic MBean 的特定屬性的值。 |
Object |
StandardMBean.getAttribute(String attribute)
|
AttributeList |
MBeanServer.getAttributes(ObjectName name,
String[] attributes)
|
AttributeList |
MBeanServerConnection.getAttributes(ObjectName name,
String[] attributes)
獲得指定 MBean 的多個屬性值。 |
MBeanInfo |
MBeanServer.getMBeanInfo(ObjectName name)
|
MBeanInfo |
MBeanServerConnection.getMBeanInfo(ObjectName name)
此方法發現了 MBean 為管理而公開的屬性和操作。 |
Object |
MBeanServer.instantiate(String className)
使用 MBean 伺服器的 Class Loader Repository 中所有已註冊的類別載入器列表實例化一個物件。 |
Object |
MBeanServer.instantiate(String className,
Object[] params,
String[] signature)
使用 MBean 伺服器的 Class Loader Repository 中所有已註冊的類別載入器列表來實例化一個物件。 |
Object |
MBeanServer.instantiate(String className,
ObjectName loaderName)
使用由某個物件的 ObjectName 指定的類別載入器來實例化該物件。 |
Object |
MBeanServer.instantiate(String className,
ObjectName loaderName,
Object[] params,
String[] signature)
實例化一個物件。 |
Object |
MBeanServer.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature)
|
Object |
MBeanServerConnection.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature)
在 MBean 上調用某個操作。 |
Object |
DynamicMBean.invoke(String actionName,
Object[] params,
String[] signature)
允許在 Dynamic MBean 上調用某個操作。 |
Object |
StandardMBean.invoke(String actionName,
Object[] params,
String[] signature)
|
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 的特定屬性值。 |
AttributeList |
MBeanServer.setAttributes(ObjectName name,
AttributeList attributes)
|
AttributeList |
MBeanServerConnection.setAttributes(ObjectName name,
AttributeList attributes)
設置指定 MBean 的多個屬性值。 |
javax.management.modelmbean 中 ReflectionException 的使用 |
---|
拋出 ReflectionException 的 javax.management.modelmbean 中的方法 | |
---|---|
Object |
RequiredModelMBean.getAttribute(String attrName)
返回為此 ModelMBean 定義的指定屬性的值。 |
Object |
RequiredModelMBean.invoke(String opName,
Object[] opArgs,
String[] sig)
調用 RequiredModelMBean 上的(或通過它調用)某個方法,並返回方法的執行結果。 |
void |
RequiredModelMBean.setAttribute(Attribute attribute)
設置指定的 ModelMBean 的指定屬性值。 |
javax.management.remote.rmi 中 ReflectionException 的使用 |
---|
拋出 ReflectionException 的 javax.management.remote.rmi 中的方法 | |
---|---|
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
處理 MBeanServerConnection.createMBean(String, ObjectName, Object[], String[]) 方法。 |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5)
|
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
處理 MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[]) 方法。 |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
MarshalledObject $param_MarshalledObject_4,
String[] $param_arrayOf_String_5,
Subject $param_Subject_6)
|
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject)
處理 MBeanServerConnection.createMBean(String, ObjectName, ObjectName) 方法。 |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject)
|
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
Subject $param_Subject_4)
|
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
Subject delegationSubject)
處理 MBeanServerConnection.createMBean(String, ObjectName) 方法。 |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
Subject delegationSubject)
|
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
Subject $param_Subject_3)
|
Object |
RMIConnection.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject)
處理 MBeanServerConnection.getAttribute(ObjectName, String) 方法。 |
Object |
RMIConnectionImpl.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject)
|
Object |
RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1,
String $param_String_2,
Subject $param_Subject_3)
|
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)
|
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)
|
Object |
RMIConnection.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
處理 MBeanServerConnection.invoke(ObjectName, String, Object[], String[]) 方法。 |
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
Object |
RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1,
String $param_String_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5)
|
void |
RMIConnection.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
處理 MBeanServerConnection.setAttribute(ObjectName, Attribute) 方法。 |
void |
RMIConnectionImpl.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
|
void |
RMIConnectionImpl_Stub.setAttribute(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_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 2 Platform Standard Ed. 6 |
|||||||||
上一個 下一個 | 框架 無框架 |
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。