Spring-AOP @AspectJ切点函数导读-CSDN博客

164 阅读1分钟

概述

切点函数是AspectJ表达式语言的核心,也是使用@AspectJ进行切面定义的难点,本篇博文将为你揭开@AspectJ切点函数的神秘面纱


@annotation()

因篇幅原因,请查看另外一篇博文:Spring-AOP @AspectJ切点函数之@annotation


execution()

因篇幅原因,请查看另外一篇博文: Spring-AOP @AspectJ切点函数之execution()


args()和@args()

因篇幅原因,请查看另外一篇博文: Spring-AOP @AspectJ切点函数之args()和@args()


within()

因篇幅原因,请查看另外一篇博文: Spring-AOP @AspectJ切点函数之within()


@within()和@target()

因篇幅原因,请查看另外一篇博文: Spring-AOP @AspectJ切点函数之@within()和@target


target()和this()

因篇幅原因,请查看另外一篇博文: Spring-AOP @AspectJ切点函数之target()和this()