javax.management
Annotation Type MXBean


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface MXBean

An annotation used to explictly mark an interface as defining (or not defining) an MXBean. By default, such beans are taken to be those whose interface has the suffix "MXBean". The presence of this annotation overrides this intuition. The following interfaces would be classed as MXBeans:

The following would not:

Since:
1.6

Required Element Summary
 boolean value
          Returns true if the annotated interface is an MXBean.
 

Element Detail

value

public abstract boolean value
Returns true if the annotated interface is an MXBean.

Returns:
true if the interface is an MXBean.