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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the default value of this attribute.intvoidsetDefaultValue(Object defaultValue) Set the default value of this attribute.voidsetPersistPeriod(int persistPeriod) voidsetPersistPolicy(String persistPolicy) Methods inherited from class org.springframework.jmx.export.metadata.AbstractJmxAttributegetCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
- 
Field Details- 
EMPTYEmpty attributes.
 
- 
- 
Constructor Details- 
ManagedAttributepublic ManagedAttribute()
 
- 
- 
Method Details- 
setDefaultValueSet the default value of this attribute.
- 
getDefaultValueReturn the default value of this attribute.
- 
setPersistPolicy
- 
getPersistPolicy
- 
setPersistPeriodpublic void setPersistPeriod(int persistPeriod) 
- 
getPersistPeriodpublic int getPersistPeriod()
 
-