Annotation Type MBean


@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface MBean
Optional annotation that exposes all public methods in the class hierarchy (excluding Object) as MBean operations. All methods are exposed if and only if exposeAll attribute is true.
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.
  • Element Details

    • objectName

      String objectName
      Default:
      ""
    • exposeAll

      boolean exposeAll
      Default:
      false
    • description

      String description
      Default:
      ""