org.springframework.jmx.support

## 类 ObjectNameManager

- java.lang.Object
- - org.springframework.jmx.support.ObjectNameManager

-     public class ObjectNameManager
      extends Object

  Helper class for the creation of `ObjectName` instances.
  从以下版本开始:
    1.2
  作者:
    Rob Harrop, Juergen Hoeller
  另请参阅:
    `ObjectName.getInstance(String)`

- - ### 构造器概要

    构造器
    构造器和说明
    `ObjectNameManager()`

  - ### 方法概要

    所有方法 静态方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `static ObjectName` | `getInstance(Object objectName)` Retrieve the `ObjectName` instance corresponding to the supplied name.
    `static ObjectName` | `getInstance(String objectName)` Retrieve the `ObjectName` instance corresponding to the supplied name.
    `static ObjectName` | `getInstance(String domainName, Hashtable<String,String> properties)` Retrieve an `ObjectName` instance with the specified domain name and the supplied key/name properties.
    `static ObjectName` | `getInstance(String domainName, String key, String value)` Retrieve an `ObjectName` instance for the specified domain and a single property with the supplied key and value.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### ObjectNameManager

          public ObjectNameManager()

  - ### 方法详细资料

    - #### getInstance

          public static ObjectName getInstance(Object objectName)
                                        throws MalformedObjectNameException

      Retrieve the `ObjectName` instance corresponding to the supplied name.
      参数:
        `objectName` - the `ObjectName` in `ObjectName` or `String` format
      返回:
        the `ObjectName` instance
      抛出:
        `MalformedObjectNameException` - in case of an invalid object name specification
      另请参阅:
        `ObjectName.ObjectName(String)`, `ObjectName.getInstance(String)`

    - #### getInstance

          public static ObjectName getInstance(String objectName)
                                        throws MalformedObjectNameException

      Retrieve the `ObjectName` instance corresponding to the supplied name.
      参数:
        `objectName` - the `ObjectName` in `String` format
      返回:
        the `ObjectName` instance
      抛出:
        `MalformedObjectNameException` - in case of an invalid object name specification
      另请参阅:
        `ObjectName.ObjectName(String)`, `ObjectName.getInstance(String)`

    - #### getInstance

          public static ObjectName getInstance(String domainName,
                                               String key,
                                               String value)
                                        throws MalformedObjectNameException

      Retrieve an `ObjectName` instance for the specified domain and a single property with the supplied key and value.
      参数:
        `domainName` - the domain name for the `ObjectName`
        `key` - the key for the single property in the `ObjectName`
        `value` - the value for the single property in the `ObjectName`
      返回:
        the `ObjectName` instance
      抛出:
        `MalformedObjectNameException` - in case of an invalid object name specification
      另请参阅:
        `ObjectName.ObjectName(String, String, String)`, `ObjectName.getInstance(String, String, String)`

    - #### getInstance

          public static ObjectName getInstance(String domainName,
                                               Hashtable<String,String> properties)
                                        throws MalformedObjectNameException

      Retrieve an `ObjectName` instance with the specified domain name and the supplied key/name properties.
      参数:
        `domainName` - the domain name for the `ObjectName`
        `properties` - the properties for the `ObjectName`
      返回:
        the `ObjectName` instance
      抛出:
        `MalformedObjectNameException` - in case of an invalid object name specification
      另请参阅:
        `ObjectName.ObjectName(String, java.util.Hashtable)`, `ObjectName.getInstance(String, java.util.Hashtable)`