Package net.bull.javamelody
Class MonitoredWithAnnotationPointcut
java.lang.Object
net.bull.javamelody.MonitoredWithAnnotationPointcut
- All Implemented Interfaces:
org.springframework.aop.Pointcut
public class MonitoredWithAnnotationPointcut
extends Object
implements org.springframework.aop.Pointcut
Pointcut that identifies methods/classes with the
MonitoredWithSpring annotation.
Inspired by Erik van Oosten (Java Simon, Licence LGPL)- Author:
- Emeric Vernat
-
Field Summary
Fields inherited from interface org.springframework.aop.Pointcut
TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.aop.ClassFilterorg.springframework.aop.MethodMatcher
-
Constructor Details
-
MonitoredWithAnnotationPointcut
public MonitoredWithAnnotationPointcut()
-
-
Method Details
-
getClassFilter
public org.springframework.aop.ClassFilter getClassFilter()- Specified by:
getClassFilterin interfaceorg.springframework.aop.Pointcut- Returns:
- a class filter that lets all class through.
-
getMethodMatcher
public org.springframework.aop.MethodMatcher getMethodMatcher()- Specified by:
getMethodMatcherin interfaceorg.springframework.aop.Pointcut- Returns:
- a method matcher that matches any method that has the
MonitoredWithSpringannotation, or is in a class with theMonitoredWithSpringannotation
-