Annotation Type MBean


  • @Retention(CLASS)
    @Target(TYPE)
    @Inherited
    public @interface MBean
    Classes annotated with this will be exposed as MBeans. If you are looking for more fined grained way of exposing JMX attributes/operations, take a look at ManagedAttribute and ManagedOperation
    Since:
    4.0
    Author:
    Mircea.Markus@jboss.com
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String description  
      java.lang.String objectName
      This name becomes the value of the "component" key of the final ObjectName of the MBean.
    • Element Detail

      • objectName

        java.lang.String objectName
        This name becomes the value of the "component" key of the final ObjectName of the MBean. If missing, it defaults to the name of the component in the component registry.
        Default:
        ""
      • description

        java.lang.String description
        Default:
        ""