MXBean

Annotation Type MXBean

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

Annotation to mark an interface explicitly as being an MXBean interface, or as not being an MXBean interface. By default, an interface is an MXBean interface if it is public and its name ends with MXBean, as in SomethingMXBean. The following interfaces are MXBean interfaces:

public interface WhatsitMXBean {}

    @MXBean
    public interface Whatsit1Interface {}

    @MXBean(true)
    public interface Whatsit2Interface {}

The following interfaces are not MXBean interfaces:

interface NonPublicInterfaceNotMXBean{}

    public interface Whatsit3Interface{}

    @MXBean(false)
    public interface MisleadingMXBean {}

MXBean specification

The MXBean concept provides a simple way to code