Top Description Fields Constructors Methods
org.springframework.jmx.export.metadata

public Class ManagedAttribute

extends AbstractJmxAttribute
Class Inheritance
Imports
org.springframework.lang.Nullable

Metadata that indicates to expose a given bean property as JMX attribute. Only valid when used on a JavaBean getter or setter.
Author
Rob Harrop
Since
1.2
See Also
org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler, org.springframework.jmx.export.MBeanExporter

Field Summary

Modifier and TypeField and Description
private Object
public static final ManagedAttribute
EMPTY

Empty attributes.

private int
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
getDefaultValue()

Return the default value of this attribute.

public int
public String
public void
setDefaultValue(Object defaultValue)

Set the default value of this attribute.

public void
setPersistPeriod(int persistPeriod)

public void
setPersistPolicy(String persistPolicy)

Inherited from org.springframework.jmx.export.metadata.AbstractJmxAttribute:
getCurrencyTimeLimitgetDescriptionsetCurrencyTimeLimitsetDescription

Field Detail

defaultValueback to summary
private Object defaultValue
Annotations
@Nullable
EMPTYback to summary
public static final ManagedAttribute EMPTY

Empty attributes.

persistPeriodback to summary
private int persistPeriod
persistPolicyback to summary
private String persistPolicy
Annotations
@Nullable

Constructor Detail

ManagedAttributeback to summary
public ManagedAttribute()

Method Detail

getDefaultValueback to summary
public Object getDefaultValue()

Return the default value of this attribute.

Annotations
@Nullable
getPersistPeriodback to summary
public int getPersistPeriod()
getPersistPolicyback to summary
public String getPersistPolicy()
Annotations
@Nullable
setDefaultValueback to summary
public void setDefaultValue(Object defaultValue)

Set the default value of this attribute.

setPersistPeriodback to summary
public void setPersistPeriod(int persistPeriod)
setPersistPolicyback to summary
public void setPersistPolicy(String persistPolicy)