org.springframework.jmx.export.metadata

## 类 ManagedAttribute

- java.lang.Object
- - org.springframework.jmx.export.metadata.AbstractJmxAttribute
  - - org.springframework.jmx.export.metadata.ManagedAttribute

-     public class ManagedAttribute
      extends AbstractJmxAttribute

  Metadata that indicates to expose a given bean property as JMX attribute. Only valid when used on a JavaBean getter or setter.
  从以下版本开始:
    1.2
  作者:
    Rob Harrop
  另请参阅:
    `MetadataMBeanInfoAssembler`, `MBeanExporter`

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static ManagedAttribute` | `EMPTY`

  - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `getDefaultValue()` Return the default value of this attribute.
    `int` | `getPersistPeriod()`
    `String` | `getPersistPolicy()`
    `void` | `setDefaultValue(Object defaultValue)` Set the default value of this attribute.
    `void` | `setPersistPeriod(int persistPeriod)`
    `void` | `setPersistPolicy(String persistPolicy)`

    - ### 从类继承的方法 org.springframework.jmx.export.metadata.AbstractJmxAttribute

      `getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription`

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

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

- - ### 字段详细资料

    - #### EMPTY

          public static final ManagedAttribute EMPTY

  - ### 构造器详细资料

    - #### ManagedAttribute

          public ManagedAttribute()

  - ### 方法详细资料

    - #### setDefaultValue

          public void setDefaultValue(@Nullable
                                      Object defaultValue)

      Set the default value of this attribute.

    - #### getDefaultValue

          @Nullable
          public Object getDefaultValue()

      Return the default value of this attribute.

    - #### setPersistPolicy

          public void setPersistPolicy(@Nullable
                                       String persistPolicy)

    - #### getPersistPolicy

          @Nullable
          public String getPersistPolicy()

    - #### setPersistPeriod

          public void setPersistPeriod(int persistPeriod)

    - #### getPersistPeriod

          public int getPersistPeriod()