@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 MXBean
s:
public interface SomethingMXBean{}
@MXBean public interface Someat{}
@MXBean(true) public interface SomeatElse{}
The following would not:
public interface RandomInterface{}
@MXBean(false) public interface SomethingMXBean{}