Top Description Methods
org.springframework.jmx.export.annotation

public @Interface ManagedResource

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
@Inherited
@Documented
Imports
java.lang.annotation.Documented, .ElementType, .Inherited, .Retention, .RetentionPolicy, .Target, org.springframework.core.annotation.AliasFor

Class-level annotation that indicates to register instances of a class with a JMX server, corresponding to the org.springframework.jmx.export.metadata.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.

Authors
Rob Harrop, Juergen Hoeller, Sam Brannen
Since
1.2
See Also
org.springframework.jmx.export.metadata.ManagedResource

Method Summary

Modifier and TypeMethod and Description
public int
public String
public boolean
log()

public String
public String
public String
public String
public int
public String
public String
value()

Alias for the objectName attribute, for simple default usage.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

currencyTimeLimitback to summary
public int currencyTimeLimit()
descriptionback to summary
public String description()
logback to summary
public boolean log()
logFileback to summary
public String logFile()
objectNameback to summary
public String objectName()
Annotations
@AliasFor:value
persistLocationback to summary
public String persistLocation()
persistNameback to summary
public String persistName()
persistPeriodback to summary
public int persistPeriod()
persistPolicyback to summary
public String persistPolicy()
valueback to summary
public String value()

Alias for the objectName attribute, for simple default usage.

Annotations
@AliasFor:objectName