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.
- Since:
- 1.2
- Author:
- Rob Harrop, Juergen Hoeller, Sam Brannen
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
boolean
int
Alias for theobjectName()
attribute, for simple default usage.
-
Element Details
-
value
Alias for theobjectName()
attribute, for simple default usage.- Default:
- ""
-
objectName
- Default:
- ""
-
description
String description- Default:
- ""
-
currencyTimeLimit
int currencyTimeLimit- Default:
- -1
-
log
boolean log- Default:
- false
-
logFile
String logFile- Default:
- ""
-
persistPolicy
String persistPolicy- Default:
- ""
-
persistPeriod
int persistPeriod- Default:
- -1
-
persistName
String persistName- Default:
- ""
-
persistLocation
String persistLocation- Default:
- ""
-