## Uses of Class
javax.management.InstanceAlreadyExistsException

- Packages that use InstanceAlreadyExistsException
  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 InstanceAlreadyExistsException in javax.management

    Methods in javax.management that throw InstanceAlreadyExistsException
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectInstance` | MBeanServerConnection.`createMBean(String className, ObjectName name)` Instantiates and registers an MBean in the MBean server.
    `ObjectInstance` | MBeanServer.`createMBean(String className, ObjectName name)` 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, Object[] params, String[] signature)` 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)` 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.
    `ObjectInstance` | MBeanServer.`registerMBean(Object object, ObjectName name)` Registers a pre-existing object as an MBean with the MBean server.

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

    Methods in javax.management.remote.rmi that throw InstanceAlreadyExistsException
    Modifier and Type | Method | Description
    --- | --- | ---
    `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, 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, 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, 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, Subject $param_Subject_4)`
    `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, Subject $param_Subject_3)`
    `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)`.

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.