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.

Since:
1.2
Author:
Rob Harrop
See Also:
  • Element Details

    • defaultValue

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

      String description
      Set the description for the attribute in a Descriptor.
      Default:
      ""
    • currencyTimeLimit

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

      String persistPolicy
      Set the persistPolicy field in a Descriptor.
      Default:
      ""
    • persistPeriod

      int persistPeriod
      Set the persistPeriod field in a Descriptor.
      Default:
      -1