Annotation Interface ManagedAttribute


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface ManagedAttribute
Method-level annotation that indicates to expose a given bean property as a JMX attribute, corresponding to the ManagedAttribute.

Only valid when used on a JavaBean getter or setter.

从以下版本开始:
4.0
作者:
Rob Harrop
另请参阅:
  • 元素详细资料

    • defaultValue

      String defaultValue
      Set the default value for the attribute in a Descriptor.
      默认值:
      ""
    • description

      String description
      Set the description for the attribute in a Descriptor.
      默认值:
      ""
    • currencyTimeLimit

      int currencyTimeLimit
      Set the currency time limit field in a Descriptor.
      默认值:
      -1
    • persistPolicy

      String persistPolicy
      Set the persistPolicy field in a Descriptor.
      默认值:
      ""
    • persistPeriod

      int persistPeriod
      Set the persistPeriod field in a Descriptor.
      默认值:
      -1