6.1. Spring中的切入点API
public interface Pointcut {
ClassFilter getClassFilter();
MethodMatcher getMethodMatcher();
}public interface ClassFilter {
boolean matches(Class clazz);
}public interface MethodMatcher {
boolean matches(Method m, Class<?> targetClass);
boolean isRuntime();
boolean matches(Method m, Class<?> targetClass, Object... args);
}最后更新于