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

ManagedAttribute

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class ManagedAttribute

Method-level annotation that indicates to expose a given bean property as a JMX attribute, corresponding to the ManagedAttribute attribute. Only valid when used on a JavaBean getter or setter.

Author
Rob Harrop

Since
1.2

See Also
org.springframework.jmx.export.metadata.ManagedAttribute

Constructors

<init>

ManagedAttribute(defaultValue: String, description: String, currencyTimeLimit: Int, persistPolicy: String, persistPeriod: Int)

Method-level annotation that indicates to expose a given bean property as a JMX attribute, corresponding to the ManagedAttribute attribute. Only valid when used on a JavaBean getter or setter.

Properties

currencyTimeLimit

val currencyTimeLimit: Int

defaultValue

val defaultValue: String

description

val description: String

persistPeriod

val persistPeriod: Int

persistPolicy

val persistPolicy: String