org.springframework.jmx.export.annotation

## 注释类型 ManagedResource

-     @Target(value=TYPE)
       @Retention(value=RUNTIME)
       @Inherited
       @Documented
      public @interface ManagedResource

  Class-level annotation that indicates to register instances of a class with a JMX server, corresponding to the `ManagedResource` attribute.

  Note: This annotation is marked as inherited, allowing for generic management-aware base classes. In such a scenario, it is recommended to not specify an object name value since this would lead to naming collisions in case of multiple subclasses getting registered.

  从以下版本开始:
    1.2
  作者:
    Rob Harrop, Juergen Hoeller, Sam Brannen
  另请参阅:
    `ManagedResource`

- - ### 可选元素概要

    可选元素
    限定符和类型 | 可选元素和说明
    --- | ---
    `int` | `currencyTimeLimit`
    `String` | `description`
    `boolean` | `log`
    `String` | `logFile`
    `String` | `objectName`
    `String` | `persistLocation`
    `String` | `persistName`
    `int` | `persistPeriod`
    `String` | `persistPolicy`
    `String` | `value` Alias for the `objectName()` attribute, for simple default usage.

- - ### 元素详细资料

    - #### value

          @AliasFor(value="objectName")
          public abstract String value

      Alias for the `objectName()` attribute, for simple default usage.
      默认值:
        ""

  - - #### objectName

          @AliasFor(value="value")
          public abstract String objectName

      默认值:
        ""

  - - #### description

          public abstract String description

      默认值:
        ""

  - - #### currencyTimeLimit

          public abstract int currencyTimeLimit

      默认值:
        -1

  - - #### log

          public abstract boolean log

      默认值:
        false

  - - #### logFile

          public abstract String logFile

      默认值:
        ""

  - - #### persistPolicy

          public abstract String persistPolicy

      默认值:
        ""

  - - #### persistPeriod

          public abstract int persistPeriod

      默认值:
        -1

  - - #### persistName

          public abstract String persistName

      默认值:
        ""

  - - #### persistLocation

          public abstract String persistLocation

      默认值:
        ""