## Uses of Class
javax.management.MalformedObjectNameException

- Packages that use MalformedObjectNameException
  Package | Description
  --- | ---
  javax.management | Provides the core classes for the Java Management Extensions.

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

    Methods in javax.management that throw MalformedObjectNameException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ObjectName` | ObjectName.`getInstance(String name)` Return an instance of ObjectName that can be used anywhere an object obtained with `new ObjectName(name)` can be used.
    `static ObjectName` | ObjectName.`getInstance(String domain, Hashtable<String,String> table)` Return an instance of ObjectName that can be used anywhere an object obtained with `new ObjectName(domain, table)` can be used.
    `static ObjectName` | ObjectName.`getInstance(String domain, String key, String value)` Return an instance of ObjectName that can be used anywhere an object obtained with `new ObjectName(domain, key, value)` can be used.

    Constructors in javax.management that throw MalformedObjectNameException
    Constructor | Description
    --- | ---
    `ObjectInstance(String objectName, String className)` Allows an object instance to be created given a string representation of an object name and the full class name, including the package name.
    `ObjectName(String name)` Construct an object name from the given string.
    `ObjectName(String domain, Hashtable<String,String> table)` Construct an object name with several key properties from a Hashtable.
    `ObjectName(String domain, String key, String value)` Construct an object name with exactly one key property.

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.