org.springframework.jmx.export.metadata

## 类 ManagedResource

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

-     public class ManagedResource
      extends AbstractJmxAttribute

  Metadata indicating that instances of an annotated class are to be registered with a JMX server. Only valid when used on a `Class`.
  从以下版本开始:
    1.2
  作者:
    Rob Harrop
  另请参阅:
    `MetadataMBeanInfoAssembler`, `MetadataNamingStrategy`, `MBeanExporter`

- - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getLogFile()`
    `String` | `getObjectName()` Return the JMX ObjectName of this managed resource.
    `String` | `getPersistLocation()`
    `String` | `getPersistName()`
    `int` | `getPersistPeriod()`
    `String` | `getPersistPolicy()`
    `boolean` | `isLog()`
    `void` | `setLog(boolean log)`
    `void` | `setLogFile(String logFile)`
    `void` | `setObjectName(String objectName)` Set the JMX ObjectName of this managed resource.
    `void` | `setPersistLocation(String persistLocation)`
    `void` | `setPersistName(String persistName)`
    `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`

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

    - #### ManagedResource

          public ManagedResource()

  - ### 方法详细资料

    - #### setObjectName

          public void setObjectName(@Nullable
                                    String objectName)

      Set the JMX ObjectName of this managed resource.

    - #### getObjectName

          @Nullable
          public String getObjectName()

      Return the JMX ObjectName of this managed resource.

    - #### setLog

          public void setLog(boolean log)

    - #### isLog

          public boolean isLog()

    - #### setLogFile

          public void setLogFile(@Nullable
                                 String logFile)

    - #### getLogFile

          @Nullable
          public String getLogFile()

    - #### setPersistPolicy

          public void setPersistPolicy(@Nullable
                                       String persistPolicy)

    - #### getPersistPolicy

          @Nullable
          public String getPersistPolicy()

    - #### setPersistPeriod

          public void setPersistPeriod(int persistPeriod)

    - #### getPersistPeriod

          public int getPersistPeriod()

    - #### setPersistName

          public void setPersistName(@Nullable
                                     String persistName)

    - #### getPersistName

          @Nullable
          public String getPersistName()

    - #### setPersistLocation

          public void setPersistLocation(@Nullable
                                         String persistLocation)

    - #### getPersistLocation

          @Nullable
          public String getPersistLocation()