Class ManagedAttribute
java.lang.Object
org.springframework.jmx.export.metadata.AbstractJmxAttribute
org.springframework.jmx.export.metadata.ManagedAttribute
Metadata that indicates to expose a given bean property as JMX attribute.
Only valid when used on a JavaBean getter or setter.
- Since:
- 1.2
- Author:
- Rob Harrop
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the default value of this attribute.int
void
setDefaultValue
(@Nullable Object defaultValue) Set the default value of this attribute.void
setPersistPeriod
(int persistPeriod) void
setPersistPolicy
(@Nullable String persistPolicy) Methods inherited from class org.springframework.jmx.export.metadata.AbstractJmxAttribute
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
-
Field Details
-
EMPTY
Empty attributes.
-
-
Constructor Details
-
ManagedAttribute
public ManagedAttribute()
-
-
Method Details
-
setDefaultValue
Set the default value of this attribute. -
getDefaultValue
Return the default value of this attribute. -
setPersistPolicy
-
getPersistPolicy
-
setPersistPeriod
public void setPersistPeriod(int persistPeriod) -
getPersistPeriod
public int getPersistPeriod()
-