©
This document uses PHP Chinese website manual Release
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一个 下一个 | 框架 无框架 |
使用 InstanceNotFoundException 的软件包 | |
---|---|
javax.management | 提供 Java Management Extensions 的核心类。 |
javax.management.modelmbean | 提供了 ModelMBean 类的定义。 |
javax.management.relation | 提供 Relation Service 的定义。 |
javax.management.remote.rmi | RMI 连接器是供 JMX Remote API 使用的一种连接器,后者使用 RMI 将客户端请求传输到远程 MBean 服务器。 |
javax.management.timer | 提供对 Timer MBean(计时器 MBean)的定义。 |
javax.management 中 InstanceNotFoundException 的使用 |
---|
抛出 InstanceNotFoundException 的 javax.management 中的方法 | |
---|---|
void |
MBeanServer.addNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object handback)
|
void |
MBeanServerConnection.addNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object handback)
向已注册的 MBean 添加一个侦听器。 |
void |
MBeanServer.addNotificationListener(ObjectName name,
ObjectName listener,
NotificationFilter filter,
Object handback)
|
void |
MBeanServerConnection.addNotificationListener(ObjectName name,
ObjectName listener,
NotificationFilter filter,
Object handback)
向已注册的 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(ObjectName name,
byte[] data)
已过时。 使用 getClassLoaderFor 为反序列化获得合适的类加载器。
|
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 的特定属性值。 |
AttributeList |
MBeanServer.getAttributes(ObjectName name,
String[] attributes)
|
AttributeList |
MBeanServerConnection.getAttributes(ObjectName name,
String[] attributes)
获得指定 MBean 的多个属性值。 |
ClassLoader |
MBeanServer.getClassLoader(ObjectName loaderName)
返回指定的 ClassLoader 。 |
ClassLoader |
MBeanServer.getClassLoaderFor(ObjectName mbeanName)
返回用于加载指定 MBean 的类的 ClassLoader 。 |
MBeanInfo |
MBeanServer.getMBeanInfo(ObjectName name)
|
MBeanInfo |
MBeanServerConnection.getMBeanInfo(ObjectName name)
此方法发现了 MBean 为管理而公开的属性和操作。 |
ObjectInstance |
MBeanServer.getObjectInstance(ObjectName name)
|
ObjectInstance |
MBeanServerConnection.getObjectInstance(ObjectName name)
获得向 MBean 服务器注册的给定 MBean 的 ObjectInstance 。 |
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 上调用某个操作。 |
boolean |
MBeanServer.isInstanceOf(ObjectName name,
String className)
|
boolean |
MBeanServerConnection.isInstanceOf(ObjectName name,
String className)
如果指定的 MBean 是指定类的一个实例,则返回 true;否则返回 false。 |
void |
PersistentMBean.load()
使用持久存储中找到的 MBean 的数据实例化此 MBean 实例。 |
void |
MBeanServer.removeNotificationListener(ObjectName name,
NotificationListener listener)
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName name,
NotificationListener listener)
从已注册的 MBean 中移除一个侦听器。 |
void |
MBeanServer.removeNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object handback)
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object handback)
从已注册的 MBean 中移除一个侦听器。 |
void |
MBeanServer.removeNotificationListener(ObjectName name,
ObjectName listener)
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName name,
ObjectName listener)
从已注册的 MBean 中移除一个侦听器。 |
void |
MBeanServer.removeNotificationListener(ObjectName name,
ObjectName listener,
NotificationFilter filter,
Object handback)
|
void |
MBeanServerConnection.removeNotificationListener(ObjectName name,
ObjectName listener,
NotificationFilter filter,
Object handback)
从已注册的 MBean 中移除一个侦听器。 |
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 的多个属性值。 |
void |
PersistentMBean.store()
捕获此 MBean 实例的当前状态并将其写出到持久存储中。 |
void |
MBeanServer.unregisterMBean(ObjectName name)
|
void |
MBeanServerConnection.unregisterMBean(ObjectName name)
从 MBean 服务器中注销一个 MBean。 |
javax.management.modelmbean 中 InstanceNotFoundException 的使用 |
---|
抛出 InstanceNotFoundException 的 javax.management.modelmbean 中的方法 | |
---|---|
void |
RequiredModelMBean.load()
使用在持久存储中找到的 MBean 的数据实例化此 MBean。 |
void |
ModelMBean.setManagedResource(Object mr,
String mr_type)
设置对象的实例句柄,我们将根据此句柄执行此 ModelMBean 管理接口(MBeanInfo 和 Descriptor)中的所有方法。 |
void |
RequiredModelMBean.setManagedResource(Object mr,
String mr_type)
设置对象的实例句柄,我们将根据该句柄执行此 ModelMBean 管理接口(MBeanInfo 和 Descripto)中的所有方法。 |
void |
RequiredModelMBean.store()
捕获此 MBean 实例的当前状态,并将它写出到持久存储中。 |
javax.management.relation 中 InstanceNotFoundException 的使用 |
---|
抛出 InstanceNotFoundException 的 javax.management.relation 中的方法 | |
---|---|
void |
RelationService.addRelation(ObjectName relationObjectName)
作为 Relation Service 中的关系添加由用户创建(且由其在 MBean Server 中注册)的 MBean。 |
void |
RelationServiceMBean.addRelation(ObjectName relationObjectName)
作为 Relation Service 中的关系添加由用户创建(且由其在 MBean Server 中注册)的 MBean。 |
javax.management.remote.rmi 中 InstanceNotFoundException 的使用 |
---|
抛出 InstanceNotFoundException 的 javax.management.remote.rmi 中的方法 | |
---|---|
void |
RMIConnection.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
处理 MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) 方法。 |
void |
RMIConnectionImpl.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
void |
RMIConnectionImpl_Stub.addNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
MarshalledObject $param_MarshalledObject_4,
Subject $param_Subject_5)
|
Integer[] |
RMIConnection.addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects)
处理 MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) 方法。 |
Integer[] |
RMIConnectionImpl.addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects)
|
Integer[] |
RMIConnectionImpl_Stub.addNotificationListeners(ObjectName[] $param_arrayOf_ObjectName_1,
MarshalledObject[] $param_arrayOf_MarshalledObject_2,
Subject[] $param_arrayOf_Subject_3)
|
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)
|
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)
|
ObjectInstance |
RMIConnection.getObjectInstance(ObjectName name,
Subject delegationSubject)
处理 MBeanServerConnection.getObjectInstance(ObjectName) 方法。 |
ObjectInstance |
RMIConnectionImpl.getObjectInstance(ObjectName name,
Subject delegationSubject)
|
ObjectInstance |
RMIConnectionImpl_Stub.getObjectInstance(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)
|
boolean |
RMIConnection.isInstanceOf(ObjectName name,
String className,
Subject delegationSubject)
处理 MBeanServerConnection.isInstanceOf(ObjectName, String) 方法。 |
boolean |
RMIConnectionImpl.isInstanceOf(ObjectName name,
String className,
Subject delegationSubject)
|
boolean |
RMIConnectionImpl_Stub.isInstanceOf(ObjectName $param_ObjectName_1,
String $param_String_2,
Subject $param_Subject_3)
|
void |
RMIConnection.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
处理 MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) 方法。 |
void |
RMIConnectionImpl.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
void |
RMIConnectionImpl_Stub.removeNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
MarshalledObject $param_MarshalledObject_4,
Subject $param_Subject_5)
|
void |
RMIConnection.removeNotificationListener(ObjectName name,
ObjectName listener,
Subject delegationSubject)
处理 MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName) 方法。 |
void |
RMIConnectionImpl.removeNotificationListener(ObjectName name,
ObjectName listener,
Subject delegationSubject)
|
void |
RMIConnectionImpl_Stub.removeNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
Subject $param_Subject_3)
|
void |
RMIConnection.removeNotificationListeners(ObjectName name,
Integer[] listenerIDs,
Subject delegationSubject)
处理 removeNotificationListener(ObjectName, NotificationListener) 和 removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) 方法。 |
void |
RMIConnectionImpl.removeNotificationListeners(ObjectName name,
Integer[] listenerIDs,
Subject delegationSubject)
|
void |
RMIConnectionImpl_Stub.removeNotificationListeners(ObjectName $param_ObjectName_1,
Integer[] $param_arrayOf_Integer_2,
Subject $param_Subject_3)
|
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)
|
void |
RMIConnection.unregisterMBean(ObjectName name,
Subject delegationSubject)
处理 MBeanServerConnection.unregisterMBean(ObjectName) 方法。 |
void |
RMIConnectionImpl.unregisterMBean(ObjectName name,
Subject delegationSubject)
|
void |
RMIConnectionImpl_Stub.unregisterMBean(ObjectName $param_ObjectName_1,
Subject $param_Subject_2)
|
javax.management.timer 中 InstanceNotFoundException 的使用 |
---|
抛出 InstanceNotFoundException 的 javax.management.timer 中的方法 | |
---|---|
void |
Timer.removeNotification(Integer id)
从通知列表中移除与指定标识符对应的计时器通知。 |
void |
TimerMBean.removeNotification(Integer id)
从通知列表中移除与指定的标识符对应的计时器通知。 |
void |
Timer.removeNotifications(String type)
从通知列表中移除与指定类型对应的所有计时器通知。 |
void |
TimerMBean.removeNotifications(String type)
从通知列表中移除与指定的类型对应的所有计时器通知。 |
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一个 下一个 | 框架 无框架 |
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。