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 int
currencyTimeLimit
Set the currency time limit field in aDescriptor
.String
defaultValue
Set the default value for the attribute in aDescriptor
.String
description
Set the description for the attribute in aDescriptor
.int
persistPeriod
Set the persistPeriod field in aDescriptor
.String
persistPolicy
Set 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