Package net.bull.javamelody
Class MonitoredWithInterfacePointcut
java.lang.Object
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 an interface.
- Author:
- Emeric Vernat
-
Field Summary
Fields inherited from interface org.springframework.aop.Pointcut
TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.aop.ClassFilterRetourne le nom de l'interface à matcher.org.springframework.aop.MethodMatchervoidsetInterfaceName(String interfaceName) Définit le nom de l'interface à matcher (non null).
-
Constructor Details
-
MonitoredWithInterfacePointcut
public MonitoredWithInterfacePointcut()
-
-
Method Details
-
getClassFilter
public org.springframework.aop.ClassFilter getClassFilter()- Specified by:
getClassFilterin interfaceorg.springframework.aop.Pointcut- Returns:
- a class filter based on interfaceName.
-
getMethodMatcher
public org.springframework.aop.MethodMatcher getMethodMatcher()- Specified by:
getMethodMatcherin interfaceorg.springframework.aop.Pointcut- Returns:
- a method matcher that matches any method
-
getInterfaceName
Retourne le nom de l'interface à matcher.- Returns:
- String
-
setInterfaceName
Définit le nom de l'interface à matcher (non null).- Parameters:
interfaceName- String- Throws:
ClassNotFoundException- Si classe non trouvée
-