org.baswell.easybeans
Annotation Type EasyBeanAttribute


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

Metadata for a MBean attribute.


Optional Element Summary
 java.lang.String description
          Optional description of this attribute.
 java.lang.String name
          The JMX attribute name.
 boolean readOnly
          Forces this attribute to be read-only even if the field or setter is available to write to.
 

name

public abstract java.lang.String name
The JMX attribute name. If not provided the name will be created from the Field or Method.

See Also:
OpenMBeanParameterInfo.getName()
Default:
""

description

public abstract java.lang.String description
Optional description of this attribute.

See Also:
OpenMBeanParameterInfo.getDescription()
Default:
""

readOnly

public abstract boolean readOnly
Forces this attribute to be read-only even if the field or setter is available to write to.

Default:
false