Class ManagedResource
java.lang.Object
org.springframework.jmx.export.metadata.AbstractJmxAttribute
org.springframework.jmx.export.metadata.ManagedResource
Metadata indicating that instances of an annotated class
 are to be registered with a JMX server.
 Only valid when used on a 
Class.- Since:
- 1.2
- Author:
- Rob Harrop
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the JMX ObjectName of this managed resource.intbooleanisLog()voidsetLog(boolean log) voidsetLogFile(String logFile) voidsetObjectName(String objectName) Set the JMX ObjectName of this managed resource.voidsetPersistLocation(String persistLocation) voidsetPersistName(String persistName) voidsetPersistPeriod(int persistPeriod) voidsetPersistPolicy(String persistPolicy) Methods inherited from class org.springframework.jmx.export.metadata.AbstractJmxAttributegetCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
- 
Constructor Details- 
ManagedResourcepublic ManagedResource()
 
- 
- 
Method Details- 
setObjectNameSet the JMX ObjectName of this managed resource.
- 
getObjectNameReturn the JMX ObjectName of this managed resource.
- 
setLogpublic void setLog(boolean log) 
- 
isLogpublic boolean isLog()
- 
setLogFile
- 
getLogFile
- 
setPersistPolicy
- 
getPersistPolicy
- 
setPersistPeriodpublic void setPersistPeriod(int persistPeriod) 
- 
getPersistPeriodpublic int getPersistPeriod()
- 
setPersistName
- 
getPersistName
- 
setPersistLocation
- 
getPersistLocation
 
-