net.bull.javamelody
Class MonitoredWithAnnotationPointcut

java.lang.Object
  extended by net.bull.javamelody.MonitoredWithAnnotationPointcut
All Implemented Interfaces:
org.springframework.aop.Pointcut

public class MonitoredWithAnnotationPointcut
extends java.lang.Object
implements org.springframework.aop.Pointcut

Pointcut that identifies methods/classes with the MonitoredWithSpring annotation.

Author:
Erik van Oosten (Java Simon, Licence LGPL)

Field Summary
 
Fields inherited from interface org.springframework.aop.Pointcut
TRUE
 
Constructor Summary
MonitoredWithAnnotationPointcut()
           
 
Method Summary
 org.springframework.aop.ClassFilter getClassFilter()
           
 org.springframework.aop.MethodMatcher getMethodMatcher()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoredWithAnnotationPointcut

public MonitoredWithAnnotationPointcut()
Method Detail

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


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