Uses of Class javax.management.ReflectionException (Java Platform SE 8 )
Date: 2016-12-09

## Uses of Class
javax.management.ReflectionException

- Packages that use ReflectionException
  Package | Description
  --- | ---
  javax.management | Provides the core classes for the Java Management Extensions.
  javax.management.modelmbean | Provides the definition of the ModelMBean classes.
  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.

- - ### Uses of ReflectionException in javax.management

    Methods in javax.management that throw ReflectionException
    Modifier and Type | Method and Description
    --- | ---
    `ObjectInstance` | MBeanServer.`createMBean(String className, ObjectName name)` Instantiates and registers an MBean in the MBean server.
    `ObjectInstance` | MBeanServerConnection.`createMBean(String className, ObjectName name)` Instantiates and registers an MBean in the MBean server.
    `ObjectInstance` | MBeanServer.`createMBean(String className, ObjectName name, Object[] params, String[] signature)` Instantiates and registers an MBean in the MBean server.
    `ObjectInstance` | MBeanServerConnection.`createMBean(String className, ObjectName name, Object[] params, String[] signature)` 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)` 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.
    `ObjectInstance` | MBeanServerConnection.`createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)` Instantiates and registers an MBean in the MBean server.
    `ObjectInputStream` | MBeanServer.`deserialize(String className, byte[] data)` Deprecated. Use `MBeanServer.getClassLoaderRepository()` to obtain the class loader repository and use it to deserialize.
    `ObjectInputStream` | MBeanServer.`deserialize(String className, ObjectName loaderName, byte[] data)` Deprecated. Use `getClassLoader` to obtain the class loader for deserialization.
    `Object` | MBeanServer.`getAttribute(ObjectName name, String attribute)`
    `Object` | MBeanServerConnection.`getAttribute(ObjectName name, String attribute)` Gets the value of a specific attribute of a named MBean.
    `Object` | StandardMBean.`getAttribute(String attribute)`
    `Object` | DynamicMBean.`getAttribute(String attribute)` Obtain the value of a specific attribute of the Dynamic MBean.
    `AttributeList` | MBeanServer.`getAttributes(ObjectName name, String[] attributes)`
    `AttributeList` | MBeanServerConnection.`getAttributes(ObjectName name, String[] attributes)` Retrieves the values of several attributes of a named MBean.
    `MBeanInfo` | MBeanServer.`getMBeanInfo(ObjectName name)`
    `MBeanInfo` | MBeanServerConnection.`getMBeanInfo(ObjectName name)` This method discovers the attributes and operations that an MBean exposes for management.
    `Object` | MBeanServer.`instantiate(String className)` Instantiates an object using the list of all class loaders registered in the MBean server's `Class Loader Repository`.
    `Object` | MBeanServer.`instantiate(String className, Object[] params, String[] signature)` Instantiates an object using the list of all class loaders registered in the MBean server `Class Loader Repository`.
    `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` | MBeanServer.`invoke(ObjectName name, String operationName, Object[] params, String[] signature)`
    `Object` | MBeanServerConnection.`invoke(ObjectName name, String operationName, Object[] params, String[] signature)` Invokes an operation on an MBean.
    `Object` | StandardMBean.`invoke(String actionName, Object[] params, String[] signature)`
    `Object` | DynamicMBean.`invoke(String actionName, Object[] params, String[] signature)` Allows an action to be invoked on the Dynamic MBean.
    `void` | StandardMBean.`setAttribute(Attribute attribute)`
    `void` | DynamicMBean.`setAttribute(Attribute attribute)` Set the value of a specific attribute of the Dynamic MBean.
    `void` | MBeanServer.`setAttribute(ObjectName name, Attribute attribute)`
    `void` | MBeanServerConnection.`setAttribute(ObjectName name, Attribute attribute)` Sets the value of a specific attribute of a named MBean.
    `AttributeList` | MBeanServer.`setAttributes(ObjectName name, AttributeList attributes)`
    `AttributeList` | MBeanServerConnection.`setAttributes(ObjectName name, AttributeList attributes)` Sets the values of several attributes of a named MBean.

  - ### Uses of ReflectionException in javax.management.modelmbean

    Methods in javax.management.modelmbean that throw ReflectionException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | RequiredModelMBean.`getAttribute(String attrName)` Returns the value of a specific attribute defined for this ModelMBean.
    `Object` | RequiredModelMBean.`invoke(String opName, Object[] opArgs, String[] sig)` Invokes a method on or through a RequiredModelMBean and returns the result of the method execution.
    `void` | RequiredModelMBean.`setAttribute(Attribute attribute)` Sets the value of a specific attribute of a named ModelMBean.

  - ### Uses of ReflectionException in javax.management.remote.rmi

    Methods in javax.management.remote.rmi that throw ReflectionException
    Modifier and Type | Method and Description
    --- | ---
    `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, MarshalledObject params, String[] signature, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, 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, MarshalledObject params, String[] signature, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[])`.
    `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, ObjectName loaderName, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName, 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)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName)`.
    `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)`
    `Object` | RMIConnection.`getAttribute(ObjectName name, String attribute, Subject delegationSubject)` Handles the method `MBeanServerConnection.getAttribute(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)`
    `AttributeList` | RMIConnection.`getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)` Handles the method `MBeanServerConnection.getAttributes(ObjectName, String[])`.
    `MBeanInfo` | RMIConnectionImpl.`getMBeanInfo(ObjectName name, Subject delegationSubject)`
    `MBeanInfo` | RMIConnectionImpl_Stub.`getMBeanInfo(ObjectName $param_ObjectName_1, Subject $param_Subject_2)`
    `MBeanInfo` | RMIConnection.`getMBeanInfo(ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.getMBeanInfo(ObjectName)`.
    `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)`
    `Object` | RMIConnection.`invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)` Handles the method `MBeanServerConnection.invoke(ObjectName, String, Object[], String[])`.
    `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)`
    `void` | RMIConnection.`setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)` Handles the method `MBeanServerConnection.setAttribute(ObjectName, Attribute)`.
    `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)`
    `AttributeList` | RMIConnection.`setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)` Handles the method `MBeanServerConnection.setAttributes(ObjectName, AttributeList)`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.