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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the JMX ObjectName of this managed resource.int
boolean
isLog()
void
setLog
(boolean log) void
setLogFile
(String logFile) void
setObjectName
(String objectName) Set the JMX ObjectName of this managed resource.void
setPersistLocation
(String persistLocation) void
setPersistName
(String persistName) void
setPersistPeriod
(int persistPeriod) void
setPersistPolicy
(String persistPolicy) Methods inherited from class org.springframework.jmx.export.metadata.AbstractJmxAttribute
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
-
Constructor Details
-
ManagedResource
public ManagedResource()
-
-
Method Details
-
setObjectName
Set the JMX ObjectName of this managed resource. -
getObjectName
Return the JMX ObjectName of this managed resource. -
setLog
public void setLog(boolean log) -
isLog
public boolean isLog() -
setLogFile
-
getLogFile
-
setPersistPolicy
-
getPersistPolicy
-
setPersistPeriod
public void setPersistPeriod(int persistPeriod) -
getPersistPeriod
public int getPersistPeriod() -
setPersistName
-
getPersistName
-
setPersistLocation
-
getPersistLocation
-