Annotation Interface MBeanElementType


@Target({METHOD,FIELD,PARAMETER}) @Retention(RUNTIME) public @interface MBeanElementType
This annotation describes MBean method return types or parameters types, when the types are instances of generic types. For instance, a method whch returns List<String> would be annotated with @MBeanElement(type = List.class, parameters = { "java.lang.String" }).
Author:
Laurent Cohen
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • type

      @DescriptorKey("mbean.raw.type") Class<?> type
      Returns:
      the description for the mbean or mbean element.
    • parameters

      @DescriptorKey("mbean.raw.type.params") String[] parameters
      Returns:
      the description for the mbean or mbean element.
      Default:
      {}