Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b37

Uses of Class
javax.management.InstanceNotFoundException

Packages that use InstanceNotFoundException
javax.management Provides the core classes for the Java Management Extensions. 
javax.management.event Defines the Event Service, which provides extended support for JMX notifications. 
javax.management.modelmbean Provides the definition of the ModelMBean classes. 
javax.management.namespace The javax.management.namespace package makes it possible to federate MBeanServers into a hierarchical name space. 
javax.management.relation Provides the definition of the Relation Service. 
javax.management.remote Interfaces for remote access to JMX MBean servers. 
javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. 
javax.management.timer Provides the definition of the Timer MBean. 
 

Uses of InstanceNotFoundException in javax.management
 

Methods in javax.management that throw InstanceNotFoundException
 void MBeanServerConnection.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void MBeanServer.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void MBeanServerConnection.addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void MBeanServer.addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
          Instantiates and registers an MBean in the MBean server.
 ObjectInstance MBeanServer.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
          Instantiates and registers an MBean in the MBean server.
 ObjectInputStream MBeanServer.deserialize(ObjectName name, byte[] data)
          Deprecated. Use getClassLoaderFor to obtain the appropriate class loader for deserialization.
 ObjectInputStream MBeanServer.deserialize(String className, ObjectName loaderName, byte[] data)
          Deprecated. Use getClassLoader to obtain the class loader for deserialization.
 Object MBeanServerConnection.getAttribute(ObjectName name, String attribute)
          Gets the value of a specific attribute of a named MBean.
 Object MBeanServer.getAttribute(ObjectName name, String attribute)
           
 AttributeList MBeanServerConnection.getAttributes(ObjectName name, String[] attributes)
          Enables the values of several attributes of a named MBean.
 AttributeList MBeanServer.getAttributes(ObjectName name, String[] attributes)
           
 ClassLoader MBeanServer.getClassLoader(ObjectName loaderName)
          Return the named ClassLoader.
 ClassLoader MBeanServer.getClassLoaderFor(ObjectName mbeanName)
          Return the ClassLoader that was used for loading the class of the named MBean.
 MBeanInfo MBeanServerConnection.getMBeanInfo(ObjectName name)
          This method discovers the attributes and operations that an MBean exposes for management.
 MBeanInfo MBeanServer.getMBeanInfo(ObjectName name)
           
 ObjectInstance MBeanServerConnection.getObjectInstance(ObjectName name)
          Gets the ObjectInstance for a given MBean registered with the MBean server.
 ObjectInstance MBeanServer.getObjectInstance(ObjectName name)
           
 Object MBeanServer.instantiate(String className, ObjectName loaderName)
          Instantiates an object using the class Loader specified by its ObjectName.
 Object MBeanServer.instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
          Instantiates an object.
 Object MBeanServerConnection.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
          Invokes an operation on an MBean.
 Object MBeanServer.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
           
 boolean MBeanServerConnection.isInstanceOf(ObjectName name, String className)
          Returns true if the MBean specified is an instance of the specified class, false otherwise.
 boolean MBeanServer.isInstanceOf(ObjectName name, String className)
           
 void PersistentMBean.load()
          Instantiates thisMBean instance with the data found for the MBean in the persistent store.
 void MBeanServerConnection.removeNotificationListener(ObjectName name, NotificationListener listener)
           
 void MBeanServer.removeNotificationListener(ObjectName name, NotificationListener listener)
           
 void MBeanServerConnection.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void MBeanServer.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void MBeanServerConnection.removeNotificationListener(ObjectName name, ObjectName listener)
          Removes a listener from a registered MBean.
 void MBeanServer.removeNotificationListener(ObjectName name, ObjectName listener)
           
 void MBeanServerConnection.removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Removes a listener from a registered MBean.
 void MBeanServer.removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
           
 void MBeanServerConnection.setAttribute(ObjectName name, Attribute attribute)
          Sets the value of a specific attribute of a named MBean.
 void MBeanServer.setAttribute(ObjectName name, Attribute attribute)
           
 AttributeList MBeanServerConnection.setAttributes(ObjectName name, AttributeList attributes)
          Sets the values of several attributes of a named MBean.
 AttributeList MBeanServer.setAttributes(ObjectName name, AttributeList attributes)
           
 void PersistentMBean.store()
          Captures the current state of this MBean instance and writes it out to the persistent store.
 void MBeanServerConnection.unregisterMBean(ObjectName name)
          Unregisters an MBean from the MBean server.
 void MBeanServer.unregisterMBean(ObjectName name)
          Unregisters an MBean from the MBean server.
 

Uses of InstanceNotFoundException in javax.management.event
 

Methods in javax.management.event that throw InstanceNotFoundException
 Integer EventClientDelegateMBean.addListener(String clientId, ObjectName name, NotificationFilter filter)
          Adds a listener to receive notifications from an MBean and returns a non-negative integer as the identifier of the listener.
 Integer EventClientDelegate.addListener(String clientId, ObjectName name, NotificationFilter filter)
          Adds a listener to receive notifications from an MBean and returns a non-negative integer as the identifier of the listener.
 void NotificationManager.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void EventClient.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void EventClientDelegateMBean.removeListenerOrSubscriber(String clientId, Integer listenerId)
          Removes a listener, to stop receiving notifications.
 void EventClientDelegate.removeListenerOrSubscriber(String clientId, Integer listenerId)
          Removes a listener, to stop receiving notifications.
 void NotificationManager.removeNotificationListener(ObjectName name, NotificationListener listener)
          Removes a listener from a registered MBean.
 void EventClient.removeNotificationListener(ObjectName name, NotificationListener listener)
           
 void NotificationManager.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Removes a listener from a registered MBean.
 void EventClient.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 

Uses of InstanceNotFoundException in javax.management.modelmbean
 

Methods in javax.management.modelmbean that throw InstanceNotFoundException
 void RequiredModelMBean.load()
          Instantiates this MBean instance with the data found for the MBean in the persistent store.
 void RequiredModelMBean.setManagedResource(Object mr, String mr_type)
          Sets the instance handle of the object against which to execute all methods in this ModelMBean management interface (MBeanInfo and Descriptors).
 void ModelMBean.setManagedResource(Object mr, String mr_type)
          Sets the instance handle of the object against which to execute all methods in this ModelMBean management interface (MBeanInfo and Descriptors).
 void RequiredModelMBean.store()
          Captures the current state of this MBean instance and writes it out to the persistent store.
 

Uses of InstanceNotFoundException in javax.management.namespace
 

Methods in javax.management.namespace that throw InstanceNotFoundException
 void MBeanServerSupport.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void MBeanServerConnectionWrapper.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Forward this method to the wrapped object.
 void MBeanServerSupport.addNotificationListener(ObjectName name, ObjectName listenerName, NotificationFilter filter, Object handback)
          Adds a listener to a registered MBean.
 void MBeanServerConnectionWrapper.addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Forward this method to the wrapped object.
 ObjectInstance MBeanServerSupport.createMBean(String className, ObjectName name, ObjectName loaderName)
          Calls createMBean(className, name, loaderName, null, null, false);
 ObjectInstance MBeanServerConnectionWrapper.createMBean(String className, ObjectName name, ObjectName loaderName)
          Forward this method to the wrapped object.
 ObjectInstance MBeanServerSupport.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
          Calls createMBean(className,name, loaderName, params, signature, false);
 ObjectInstance MBeanServerConnectionWrapper.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
          Forward this method to the wrapped object.
 ObjectInstance MBeanServerSupport.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature, boolean useCLR)
          Creates a new MBean in the MBean name space.
 ObjectInputStream MBeanServerSupport.deserialize(ObjectName name, byte[] data)
          Deprecated. 
 ObjectInputStream MBeanServerConnectionWrapper.deserialize(ObjectName name, byte[] data)
          Deprecated. see MBeanServer
 ObjectInputStream MBeanServerSupport.deserialize(String className, ObjectName loaderName, byte[] data)
          Deprecated. 
 ObjectInputStream MBeanServerConnectionWrapper.deserialize(String className, ObjectName loaderName, byte[] data)
          Deprecated. see MBeanServer
 Object MBeanServerSupport.getAttribute(ObjectName name, String attribute)
          Gets the value of a specific attribute of a named MBean.
 Object MBeanServerConnectionWrapper.getAttribute(ObjectName name, String attribute)
          Forward this method to the wrapped object.
 AttributeList MBeanServerSupport.getAttributes(ObjectName name, String[] attributes)
          Enables the values of several attributes of a named MBean.
 AttributeList MBeanServerConnectionWrapper.getAttributes(ObjectName name, String[] attributes)
          Forward this method to the wrapped object.
 ClassLoader MBeanServerSupport.getClassLoader(ObjectName loaderName)
          Return the named ClassLoader.
 ClassLoader MBeanServerConnectionWrapper.getClassLoader(ObjectName loaderName)
          Throws an UnsupportedOperationException.
 ClassLoader MBeanServerSupport.getClassLoaderFor(ObjectName mbeanName)
          Return the ClassLoader that was used for loading the class of the named MBean.
 ClassLoader MBeanServerConnectionWrapper.getClassLoaderFor(ObjectName mbeanName)
          Returns the default class loader.
abstract  DynamicMBean MBeanServerSupport.getDynamicMBeanFor(ObjectName name)
          Returns a dynamically created handle that makes it possible to access the named MBean for the duration of a method call.
 MBeanInfo MBeanServerSupport.getMBeanInfo(ObjectName name)
          This method discovers the attributes and operations that an MBean exposes for management.
 MBeanInfo MBeanServerConnectionWrapper.getMBeanInfo(ObjectName name)
          Forward this method to the wrapped object.
 NotificationEmitter VirtualEventManager.getNotificationEmitterFor(ObjectName name)
          Returns a NotificationEmitter object which can be used to subscribe or unsubscribe for notifications with the named mbean.
 NotificationEmitter MBeanServerSupport.getNotificationEmitterFor(ObjectName name)
          Returns a NotificationEmitter which can be used to subscribe or unsubscribe for notifications with the named mbean.
 ObjectInstance MBeanServerSupport.getObjectInstance(ObjectName name)
          Gets the ObjectInstance for a given MBean registered with the MBean server.
 ObjectInstance MBeanServerConnectionWrapper.getObjectInstance(ObjectName name)
          Forward this method to the wrapped object.
 Object MBeanServerSupport.instantiate(String className, ObjectName loaderName)
          Instantiates an object using the class Loader specified by its ObjectName.
 Object MBeanServerConnectionWrapper.instantiate(String className, ObjectName loaderName)
          Throws an UnsupportedOperationException.
 Object MBeanServerSupport.instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
          Instantiates an object.
 Object MBeanServerConnectionWrapper.instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
          Throws an UnsupportedOperationException.
 Object MBeanServerSupport.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
          Invokes an operation on an MBean.
 Object MBeanServerConnectionWrapper.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
          Forward this method to the wrapped object.
 boolean MBeanServerSupport.isInstanceOf(ObjectName name, String className)
          Attempts to determine whether the named MBean should be considered as an instance of a given class.
 boolean MBeanServerConnectionWrapper.isInstanceOf(ObjectName name, String className)
          Forward this method to the wrapped object.
 void MBeanServerSupport.removeNotificationListener(ObjectName name, NotificationListener listener)
          Removes a listener from a registered MBean.
 void MBeanServerConnectionWrapper.removeNotificationListener(ObjectName name, NotificationListener listener)
          Forward this method to the wrapped object.
 void MBeanServerSupport.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Removes a listener from a registered MBean.
 void MBeanServerConnectionWrapper.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
          Forward this method to the wrapped object.
 void MBeanServerSupport.removeNotificationListener(ObjectName name, ObjectName listenerName)
          Removes a listener from a registered MBean.
 void MBeanServerConnectionWrapper.removeNotificationListener(ObjectName name, ObjectName listener)
          Forward this method to the wrapped object.
 void MBeanServerSupport.removeNotificationListener(ObjectName name, ObjectName listenerName, NotificationFilter filter, Object handback)
          Removes a listener from a registered MBean.
 void MBeanServerConnectionWrapper.removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
          Forward this method to the wrapped object.
 void MBeanServerSupport.setAttribute(ObjectName name, Attribute attribute)
          Sets the value of a specific attribute of a named MBean.
 void MBeanServerConnectionWrapper.setAttribute(ObjectName name, Attribute attribute)
          Forward this method to the wrapped object.
 AttributeList MBeanServerSupport.setAttributes(ObjectName name, AttributeList attributes)
          Sets the values of several attributes of a named MBean.
 AttributeList MBeanServerConnectionWrapper.setAttributes(ObjectName name, AttributeList attributes)
          Forward this method to the wrapped object.
 void MBeanServerSupport.unregisterMBean(ObjectName name)
          Unregisters an MBean from the MBean server.
 void MBeanServerConnectionWrapper.unregisterMBean(ObjectName name)
          Forward this method to the wrapped object.
 

Uses of InstanceNotFoundException in javax.management.relation
 

Methods in javax.management.relation that throw InstanceNotFoundException
 void RelationServiceMBean.addRelation(ObjectName relationObjectName)
          Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
 void RelationService.addRelation(ObjectName relationObjectName)
          Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
 

Uses of InstanceNotFoundException in javax.management.remote
 

Methods in javax.management.remote that throw InstanceNotFoundException
 void IdentityMBeanServerForwarder.addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void IdentityMBeanServerForwarder.addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
           
 ObjectInstance IdentityMBeanServerForwarder.createMBean(String className, ObjectName name, ObjectName loaderName)
           
 ObjectInstance IdentityMBeanServerForwarder.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
           
 ObjectInputStream IdentityMBeanServerForwarder.deserialize(ObjectName name, byte[] data)
          Deprecated. 
 ObjectInputStream IdentityMBeanServerForwarder.deserialize(String className, ObjectName loaderName, byte[] data)
          Deprecated. 
 Object IdentityMBeanServerForwarder.getAttribute(ObjectName name, String attribute)
           
 AttributeList IdentityMBeanServerForwarder.getAttributes(ObjectName name, String[] attributes)
           
 ClassLoader IdentityMBeanServerForwarder.getClassLoader(ObjectName loaderName)
           
 ClassLoader IdentityMBeanServerForwarder.getClassLoaderFor(ObjectName mbeanName)
           
 MBeanInfo IdentityMBeanServerForwarder.getMBeanInfo(ObjectName name)
           
 ObjectInstance IdentityMBeanServerForwarder.getObjectInstance(ObjectName name)
           
 Object IdentityMBeanServerForwarder.instantiate(String className, ObjectName loaderName)
           
 Object IdentityMBeanServerForwarder.instantiate(String className, ObjectName loaderName, Object[] params, String[] signature)
           
 Object IdentityMBeanServerForwarder.invoke(ObjectName name, String operationName, Object[] params, String[] signature)
           
 boolean IdentityMBeanServerForwarder.isInstanceOf(ObjectName name, String className)
           
 void IdentityMBeanServerForwarder.removeNotificationListener(ObjectName name, NotificationListener listener)
           
 void IdentityMBeanServerForwarder.removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
           
 void IdentityMBeanServerForwarder.removeNotificationListener(ObjectName name, ObjectName listener)
           
 void IdentityMBeanServerForwarder.removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
           
 void IdentityMBeanServerForwarder.setAttribute(ObjectName name, Attribute attribute)
           
 AttributeList IdentityMBeanServerForwarder.setAttributes(ObjectName name, AttributeList attributes)
           
 void IdentityMBeanServerForwarder.unregisterMBean(ObjectName name)
           
 

Uses of InstanceNotFoundException in javax.management.remote.rmi
 

Methods in javax.management.remote.rmi that throw InstanceNotFoundException
 void RMIConnectionImpl_Stub.addNotificationListener(ObjectName $param_ObjectName_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, MarshalledObject $param_MarshalledObject_4, Subject $param_Subject_5)
           
 void RMIConnectionImpl.addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)
           
 void RMIConnection.addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)
          Handles the method MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object).
 Integer[] RMIConnectionImpl_Stub.addNotificationListeners(ObjectName[] $param_arrayOf_ObjectName_1, MarshalledObject[] $param_arrayOf_MarshalledObject_2, Subject[] $param_arrayOf_Subject_3)
           
 Integer[] RMIConnectionImpl.addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)
           
 Integer[] RMIConnection.addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)
          Handles the method MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object).
 ObjectInstance RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3,