@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) @Inherited class 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.
Author
Rob Harrop
Author
Juergen Hoeller
Author
Sam Brannen
Since
1.2
See Also
org.springframework.jmx.export.metadata.ManagedResource
ManagedResource(value: String, objectName: String, description: String, currencyTimeLimit: Int, log: Boolean, logFile: String, persistPolicy: String, persistPeriod: Int, persistName: String, persistLocation: String)
Class-level annotation that indicates to register instances of a class with a JMX server, corresponding to the 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. |
val currencyTimeLimit: Int |
|
val description: String |
|
val log: Boolean |
|
val logFile: String |
|
val objectName: String |
|
val persistLocation: String |
|
val persistName: String |
|
val persistPeriod: Int |
|
val persistPolicy: String |
|
val value: String
Alias for the |