Package net.bull.javamelody
Class MonitoredSpringAsyncAndScheduledPointcut
java.lang.Object
net.bull.javamelody.MonitoredSpringAsyncAndScheduledPointcut
- All Implemented Interfaces:
org.springframework.aop.Pointcut
public class MonitoredSpringAsyncAndScheduledPointcut
extends Object
implements org.springframework.aop.Pointcut
Pointcut that identifies methods/classes with the
Async, Scheduled and Schedules annotation.- 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
-
MonitoredSpringAsyncAndScheduledPointcut
public MonitoredSpringAsyncAndScheduledPointcut()
-
-
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
-