spring-framework / org.springframework.jmx.export.metadata / ManagedAttribute

ManagedAttribute

open class ManagedAttribute : AbstractJmxAttribute

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.MetadataMBeanInfoAssemblerorg.springframework.jmx.export.MBeanExporter

Constructors

<init>

ManagedAttribute()

Metadata that indicates to expose a given bean property as JMX attribute. Only valid when used on a JavaBean getter or setter.

Properties

EMPTY

static val EMPTY: ManagedAttribute

Functions

getDefaultValue

open fun getDefaultValue(): Any

Return the default value of this attribute.

getPersistPeriod

open fun getPersistPeriod(): Int

getPersistPolicy

open fun getPersistPolicy(): String

setDefaultValue

open fun setDefaultValue(defaultValue: Any): Unit

Set the default value of this attribute.

setPersistPeriod

open fun setPersistPeriod(persistPeriod: Int): Unit

setPersistPolicy

open fun setPersistPolicy(persistPolicy: String): Unit