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
  • Constructor Details

    • MonitoredWithAnnotationPointcut

      public MonitoredWithAnnotationPointcut()
  • Method Details

    • getClassFilter

      public org.springframework.aop.ClassFilter getClassFilter()
      Specified by:
      getClassFilter in interface org.springframework.aop.Pointcut
      Returns:
      a class filter that lets all class through.
    • getMethodMatcher

      public org.springframework.aop.MethodMatcher getMethodMatcher()
      Specified by:
      getMethodMatcher in interface org.springframework.aop.Pointcut
      Returns:
      a method matcher that matches any method that has the MonitoredWithSpring annotation, or is in a class with the MonitoredWithSpring annotation