Class 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.
Since:
1.2
Author:
Rob Harrop
See Also:
  • Field Details

  • Constructor Details

    • ManagedAttribute

      public ManagedAttribute()
  • Method Details

    • setDefaultValue

      public void setDefaultValue(@Nullable Object defaultValue)
      Set the default value of this attribute.
    • getDefaultValue

      @Nullable public Object getDefaultValue()
      Return the default value of this attribute.
    • setPersistPolicy

      public void setPersistPolicy(@Nullable String persistPolicy)
    • getPersistPolicy

      @Nullable public String getPersistPolicy()
    • setPersistPeriod

      public void setPersistPeriod(int persistPeriod)
    • getPersistPeriod

      public int getPersistPeriod()