Annotation Interface ManagedResource
Class-level annotation that indicates to register instances of a class
with a JMX server, corresponding to the
ManagedResource attribute.
Note: This annotation is marked as inherited, allowing for generic management-aware base classes. In such a scenario, it is recommended to not specify an object name value since this would lead to naming collisions in case of multiple subclasses getting registered.
- 从以下版本开始:
- 4.0
- 作者:
- Rob Harrop, Juergen Hoeller, Sam Brannen
- 另请参阅:
-
可选元素概要
可选元素
-
元素详细资料
-
value
Alias for theobjectName()attribute, for simple default usage.- 默认值:
- ""
-
objectName
- 默认值:
- ""
-
description
String description- 默认值:
- ""
-
currencyTimeLimit
int currencyTimeLimit- 默认值:
- -1
-
log
boolean log- 默认值:
- false
-
logFile
String logFile- 默认值:
- ""
-
persistPolicy
String persistPolicy- 默认值:
- ""
-
persistPeriod
int persistPeriod- 默认值:
- -1
-
persistName
String persistName- 默认值:
- ""
-
persistLocation
String persistLocation- 默认值:
- ""
-