类 SaAopPointcutAdvisorBeanRegister
java.lang.Object
cn.dev33.satoken.aop.SaAopPointcutAdvisorBeanRegister
Sa-Token AOP 环绕切入 Bean 注册
参考资料:
https://www.jb51.net/program/297714rev.htm
https://www.bilibili.com/video/BV1WZ421W7Qx
https://blog.csdn.net/Tomwildboar/article/details/139199801
- 从以下版本开始:
- 2024/8/3
- 作者:
- click33
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringcalcClassListExpression(List<Class<?>> list) 计算 class 列表的切入表达式, 最终样例形如:static StringcalcExpression(List<SaAnnotationHandlerInterface<?>> appendHandlerList) 计算切入表达式saAroundAnnotationHandlePointcutAdvisor(List<SaAnnotationHandlerInterface<?>> handlerList)
-
字段详细资料
-
saAroundAnnoAdvisor
Advisor 静态全局引用
-
-
构造器详细资料
-
SaAopPointcutAdvisorBeanRegister
public SaAopPointcutAdvisorBeanRegister()
-
-
方法详细资料
-
saAroundAnnotationHandlePointcutAdvisor
@Bean public SaAroundAnnotationPointcutAdvisor saAroundAnnotationHandlePointcutAdvisor(List<SaAnnotationHandlerInterface<?>> handlerList) -
calcExpression
计算切入表达式- 参数:
appendHandlerList- 追加的 SaAnnotationAbstractHandler 处理器- 返回:
- /
-
calcClassListExpression
计算 class 列表的切入表达式, 最终样例形如:public static final String POINTCUT_SIGN = "@within(cn.dev33.satoken.annotation.SaCheckLogin) || @annotation(cn.dev33.satoken.annotation.SaCheckLogin) || " + "@within(cn.dev33.satoken.annotation.SaCheckRole) || @annotation(cn.dev33.satoken.annotation.SaCheckRole) || " + "@within(cn.dev33.satoken.annotation.SaCheckPermission) || @annotation(cn.dev33.satoken.annotation.SaCheckPermission)";- 参数:
list- /- 返回:
- /
-