Annotation Type ManagedAttribute


  • @Retention(RUNTIME)
    @Target({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.
    Author:
    Chris Mills
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String description  
      java.lang.String name  
      AttributeType type  
      java.util.concurrent.TimeUnit unit
      Only used if type is TIME
      boolean writable  
    • Element Detail

      • description

        java.lang.String description
        Default:
        ""
      • name

        java.lang.String name
        Default:
        ""
      • writable

        boolean writable
        Default:
        false
      • type

        AttributeType type
        Default:
        org.jgroups.conf.AttributeType.UNDEFINED
      • unit

        java.util.concurrent.TimeUnit unit
        Only used if type is TIME
        Default:
        java.util.concurrent.TimeUnit.MILLISECONDS