Spring execution表达式详解大全
execution表达式的使用execution(访问修饰符(可省略) 返回值类型 包.包.类.方法名(参数) )如
<aop:before method="printLog" pointcut="execution(public void com.huge.service.impl.AccountServiceImpl.save())"></aop:before>
符号
类型匹配模式
*
匹配任何数量字符;比如模式 (*,String) 匹配了一个接受两个参数的方法
原创
2021-05-25 21:10:58 ·
1041 阅读 ·
0 评论