Uses of Class javax.management.ObjectInstance (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
javax.management.ObjectInstance

- Packages that use ObjectInstance
  Package | Description
  --- | ---
  javax.management | Provides the core classes for the Java Management Extensions.
  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 ObjectInstance in javax.management

    Methods in javax.management that return ObjectInstance
    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.
    `ObjectInstance` | MBeanServer.`getObjectInstance(ObjectName name)`
    `ObjectInstance` | MBeanServerConnection.`getObjectInstance(ObjectName name)` Gets the `ObjectInstance` for a given MBean registered with the MBean server.
    `ObjectInstance` | MBeanServer.`registerMBean(Object object, ObjectName name)` Registers a pre-existing object as an MBean with the MBean server.

    Methods in javax.management that return types with arguments of type ObjectInstance
    Modifier and Type | Method and Description
    --- | ---
    `Set<ObjectInstance>` | MBeanServer.`queryMBeans(ObjectName name, QueryExp query)` Gets MBeans controlled by the MBean server.
    `Set<ObjectInstance>` | MBeanServerConnection.`queryMBeans(ObjectName name, QueryExp query)` Gets MBeans controlled by the MBean server.

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

    Methods in javax.management.remote.rmi that return ObjectInstance
    Modifier and Type | Method and Description
    --- | ---
    `ObjectInstance` | RMIConnectionImpl.`createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName, Object[], String[])`.
    `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` | RMIConnectionImpl.`createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)`
    `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_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` | RMIConnectionImpl.`createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName, ObjectName)`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, Subject $param_Subject_4)`
    `ObjectInstance` | RMIConnectionImpl.`createMBean(String className, ObjectName name, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`createMBean(String className, ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.createMBean(String, ObjectName)`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`createMBean(String $param_String_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3)`
    `ObjectInstance` | RMIConnectionImpl.`getObjectInstance(ObjectName name, Subject delegationSubject)`
    `ObjectInstance` | RMIConnection.`getObjectInstance(ObjectName name, Subject delegationSubject)` Handles the method `MBeanServerConnection.getObjectInstance(ObjectName)`.
    `ObjectInstance` | RMIConnectionImpl_Stub.`getObjectInstance(ObjectName $param_ObjectName_1, Subject $param_Subject_2)`

    Methods in javax.management.remote.rmi that return types with arguments of type ObjectInstance
    Modifier and Type | Method and Description
    --- | ---
    `Set<ObjectInstance>` | RMIConnectionImpl.`queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject)`
    `Set<ObjectInstance>` | RMIConnection.`queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject)` Handles the method `MBeanServerConnection.queryMBeans(ObjectName, QueryExp)`.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.