Annotation Interface Monitored


@InterceptorBinding @Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface Monitored
Annotation to mark classes and/or methods that should be monitored by MonitoringCdiInterceptor.

A method is monitored when it is annotated, or when it is in a class that is annotated.

The monitor name consists of 2 parts, concatenated with a dot ".": -1- the class name -2- the method name

If the name attribute is specified on a class it will override the class name part. Default: the simple class name.

If the name attribute is specified on a method it will override the method name part. Default: the name of the method.

Author:
Emeric Vernat
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details