org.javasimon.spring
Class MonitoredMeasuringPointcut

java.lang.Object
  extended by org.javasimon.spring.MonitoredMeasuringPointcut
All Implemented Interfaces:
org.springframework.aop.Pointcut

public final class MonitoredMeasuringPointcut
extends Object
implements org.springframework.aop.Pointcut

Pointcut that identifies methods/classes with the Monitored annotation.

Author:
Erik van Oosten

Nested Class Summary
private static class MonitoredMeasuringPointcut.MonitoredMethodMatcher
           
 
Field Summary
 
Fields inherited from interface org.springframework.aop.Pointcut
TRUE
 
Constructor Summary
MonitoredMeasuringPointcut()
           
 
Method Summary
 org.springframework.aop.ClassFilter getClassFilter()
          Returns a class filter that lets all class through.
 org.springframework.aop.MethodMatcher getMethodMatcher()
          Returns a method matcher that matches any method that has the Monitored annotation, or is in a class with the Monitored annotation or is in a subclass of such a class or interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoredMeasuringPointcut

public MonitoredMeasuringPointcut()
Method Detail

getClassFilter

public org.springframework.aop.ClassFilter getClassFilter()
Returns a class filter that lets all class through.

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()
Returns a method matcher that matches any method that has the Monitored annotation, or is in a class with the Monitored annotation or is in a subclass of such a class or interface.

Specified by:
getMethodMatcher in interface org.springframework.aop.Pointcut
Returns:
method matcher matching Monitored methods


Copyright © 2012. All Rights Reserved.