Annotation Interface MonitoredWithGuice


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

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. Inspired by Erik van Oosten (Java Simon, Licence LGPL)

Author:
Emeric Vernat
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description