## 接口的使用
org.springframework.jmx.export.naming.ObjectNamingStrategy

- 使用ObjectNamingStrategy的程序包
  程序包 | 说明
  --- | ---
  org.springframework.jmx.export | This package provides declarative creation and registration of Spring-managed beans as JMX MBeans.
  org.springframework.jmx.export.naming | Provides a strategy for ObjectName creation.

- - ### org.springframework.jmx.export中ObjectNamingStrategy的使用

    参数类型为ObjectNamingStrategy的org.springframework.jmx.export中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | MBeanExporter.`setNamingStrategy(ObjectNamingStrategy namingStrategy)` Set the implementation of the `ObjectNamingStrategy` interface to use for this exporter.

  - ### org.springframework.jmx.export.naming中ObjectNamingStrategy的使用

    实现ObjectNamingStrategy的org.springframework.jmx.export.naming中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `IdentityNamingStrategy` An implementation of the `ObjectNamingStrategy` interface that creates a name based on the identity of a given instance.
    `class` | `KeyNamingStrategy` `ObjectNamingStrategy` implementation that builds `ObjectName` instances from the key used in the "beans" map passed to `MBeanExporter`.
    `class` | `MetadataNamingStrategy` An implementation of the `ObjectNamingStrategy` interface that reads the `ObjectName` from the source-level metadata.