类 ManagedAttribute
- java.lang.Object
- org.springframework.jmx.export.metadata.AbstractJmxAttribute
- org.springframework.jmx.export.metadata.ManagedAttribute
public class ManagedAttribute extends AbstractJmxAttribute
Metadata that indicates to expose a given bean property as JMX attribute. Only valid when used on a JavaBean getter or setter.- 从以下版本开始:
- 1.2
- 作者:
- Rob Harrop
- 另请参阅:
MetadataMBeanInfoAssembler
,MBeanExporter
字段概要
字段 修饰符和类型 字段 说明 static ManagedAttribute
EMPTY
构造器概要
构造器 构造器 说明 ManagedAttribute()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Object
getDefaultValue()
Return the default value of this attribute.int
getPersistPeriod()
String
getPersistPolicy()
void
setDefaultValue(Object defaultValue)
Set the default value of this attribute.void
setPersistPeriod(int persistPeriod)
void
setPersistPolicy(String persistPolicy)
从类继承的方法 org.springframework.jmx.export.metadata.AbstractJmxAttribute
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
字段详细资料
EMPTY
public static final ManagedAttribute EMPTY
构造器详细资料
ManagedAttribute
public ManagedAttribute()
方法详细资料
setDefaultValue
public void setDefaultValue(Object defaultValue)
Set the default value of this attribute.
getDefaultValue
public Object getDefaultValue()
Return the default value of this attribute.
setPersistPolicy
public void setPersistPolicy(String persistPolicy)
getPersistPolicy
public String getPersistPolicy()
setPersistPeriod
public void setPersistPeriod(int persistPeriod)
getPersistPeriod
public int getPersistPeriod()