net.bull.javamelody
Annotation Type MonitoredWithSpring
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface MonitoredWithSpring
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)
name
public abstract String name
- See Also:
MonitoredWithSpring
- Default:
- ""
Copyright © 2008-2010 Emeric Vernat. All Rights Reserved.