Package org.infinispan.jmx.annotations
Annotation Type ManagedAttribute
Indicates that a method in a MBean class defines a MBean attribute. This annotation can be applied to a non-static
non-private getter or setter method of a public class that is itself annotated with an @MBean annotation, or inherits
such an annotation from a superclass.
- Since:
- 4.0
- Author:
- (various), Galder ZamarreƱo
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe human-readable description of the attribute.A brief and user friendly name.The name of the JMX attribute.booleanIndicates if the attribute is writable or just read-only (default).
-
Element Details
-
name
String nameThe name of the JMX attribute. If left empty it defaults to the name of the Java property.- Default:
- ""
-
description
String descriptionThe human-readable description of the attribute. Probably more detailed thandisplayName().- Default:
- ""
-
writable
boolean writableIndicates if the attribute is writable or just read-only (default). If this flag is true a setter method must exist.- Default:
- false
-
displayName
String displayNameA brief and user friendly name.- Default:
- ""
-
dataType
DataType dataType- Default:
- MEASUREMENT
-
measurementType
MeasurementType measurementType- Default:
- DYNAMIC
-
units
Units units- Default:
- NONE
-