net.bull.javamelody
Class MonitoredWithInterfacePointcut

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

public class MonitoredWithInterfacePointcut
extends 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
MonitoredWithInterfacePointcut()
          Constructeur.
 
Method Summary
 org.springframework.aop.ClassFilter getClassFilter()
           
 String getInterfaceName()
          Retourne le nom de l'interface à matcher.
 org.springframework.aop.MethodMatcher getMethodMatcher()
           
 void setInterfaceName(String interfaceName)
          Définit le nom de l'interface à matcher (non null).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoredWithInterfacePointcut

public MonitoredWithInterfacePointcut()
Constructeur.

Method Detail

getClassFilter

public org.springframework.aop.ClassFilter getClassFilter()
Specified by:
getClassFilter in interface org.springframework.aop.Pointcut
Returns:
a class filter based on interfaceName.

getMethodMatcher

public org.springframework.aop.MethodMatcher getMethodMatcher()
Specified by:
getMethodMatcher in interface org.springframework.aop.Pointcut
Returns:
a method matcher that matches any method

getInterfaceName

public String getInterfaceName()
Retourne le nom de l'interface à matcher.

Returns:
String

setInterfaceName

public void setInterfaceName(String interfaceName)
                      throws ClassNotFoundException
Définit le nom de l'interface à matcher (non null).

Parameters:
interfaceName - String
Throws:
ClassNotFoundException - Si classe non trouvée


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