Annotation Type MethodMonitorGroup


@Documented @Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface MethodMonitorGroup
Meta-annotation used to define annotations that define groups of related classes whose methods should be traced. MethodMonitorGroups may be nested, and MethodMonitorFactory instances that apply to a group apply to all subgroups as well (following the transitive closure of the subgroups).
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    Class<? extends Annotation>[]
    List of MethodMonitorGroups that are subgrops of this one.
  • Element Details

    • value

      Class<? extends Annotation>[] value
      List of MethodMonitorGroups that are subgrops of this one. Because annotations don't support circularity, the type can't be MethodMonitorGroup[], so we require that all classes in subgroups be annotations which are annotated with MethodMonitorGroup.
      Returns:
      List of MethodMonitorGroups that are subgroups of this one.
      Default:
      {}
    • description

      String description
      Default:
      ""