org.infinispan.jmx.annotations
Annotation Type ManagedAttribute


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface ManagedAttribute

Indicates that a public method or a field (any visibility) in an MBean class defines an MBean attribute. This annotation can be applied to either a field or a public setter and/or getter method of a public class that is itself is optionally annotated with an @MBean annotation, or inherits such an annotation from a superclass.

Since:
4.0
Author:
(various), Galder ZamarreƱo

Optional Element Summary
 DataType dataType
           
 String description
           
 String displayName
           
 DisplayType displayType
           
 MeasurementType measurementType
           
 Units units
           
 boolean writable
           
 

description

public abstract String description
Default:
""

writable

public abstract boolean writable
Default:
false

displayName

public abstract String displayName
Default:
""

dataType

public abstract DataType dataType
Default:
org.infinispan.jmx.annotations.DataType.MEASUREMENT

displayType

public abstract DisplayType displayType
Default:
org.infinispan.jmx.annotations.DisplayType.DETAIL

measurementType

public abstract MeasurementType measurementType
Default:
org.infinispan.jmx.annotations.MeasurementType.DYNAMIC

units

public abstract Units units
Default:
org.infinispan.jmx.annotations.Units.NONE

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.