SpringAOP中的advisor

SpringAOP中的advisor

SpringAOP中的advisor:

前面已经提到,advisor是是PointCutAdvice的综合体,完整描述了一个advice将会在pointcut所定义的位置被触发。也就是说,它包含了pointcutadvice两项内容,这两项内容则用于分别给出advice调用所发生的位置和发生的内容。其接口如下:

public interface PointcutAdvisor {

Pointcut getPointcut();

Advice getAdvice();

}

你可能感兴趣的:(SpringAOP中的advisor)