Annotation Type 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 theManagedAttribute.Only valid when used on a JavaBean getter or setter.
- Since:
- 1.2
- Author:
- Rob Harrop
- See Also:
ManagedAttribute
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intcurrencyTimeLimitSet the currency time limit field in aDescriptor.StringdefaultValueSet the default value for the attribute in aDescriptor.StringdescriptionSet the description for the attribute in aDescriptor.intpersistPeriodSet the persistPeriod field in aDescriptor.StringpersistPolicySet the persistPolicy field in aDescriptor.
Element Detail
defaultValue
String defaultValue
Set the default value for the attribute in aDescriptor.- Default:
- ""
description
String description
Set the description for the attribute in aDescriptor.- Default:
- ""
currencyTimeLimit
int currencyTimeLimit
Set the currency time limit field in aDescriptor.- Default:
- -1
persistPolicy
String persistPolicy
Set the persistPolicy field in aDescriptor.- Default:
- ""
persistPeriod
int persistPeriod
Set the persistPeriod field in aDescriptor.- Default:
- -1