注释类型 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.
- 从以下版本开始:
- 1.2
- 作者:
- Rob Harrop
- 另请参阅:
ManagedAttribute
可选元素概要
可选元素 修饰符和类型 可选元素 说明 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
.
元素详细资料
defaultValue
String defaultValue
Set the default value for the attribute in aDescriptor
.- 默认值:
- ""
description
String description
Set the description for the attribute in aDescriptor
.- 默认值:
- ""
currencyTimeLimit
int currencyTimeLimit
Set the currency time limit field in aDescriptor
.- 默认值:
- -1
persistPolicy
String persistPolicy
Set the persistPolicy field in aDescriptor
.- 默认值:
- ""
persistPeriod
int persistPeriod
Set the persistPeriod field in aDescriptor
.- 默认值:
- -1