@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface MBean
If a more fine grained MBean attribute and operation exposure is needed do not use @MBean annotation but annotate fields and public methods directly using @ManagedOperation and @ManagedAttribute annotations.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
description |
boolean |
exposeAll |
java.lang.String |
objectName |
Copyright © 1998-2020 Red Hat. All Rights Reserved.