spring-framework / org.springframework.jmx.export.annotation / ManagedResource / <init>

<init>

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 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