net.bull.javamelody
Annotation Type MonitoredWithGuice


@Retention(value=RUNTIME)
@Target(value={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 full 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:
Erik van Oosten (Java Simon, Licence LGPL)

Optional Element Summary
 java.lang.String name
           
 

name

public abstract java.lang.String name
See Also:
MonitoredWithGuice
Default:
""


Copyright © 2008-2010 Emeric Vernat. All Rights Reserved.