spring-aop切入点配置

例如:

 

 execution (* com.sample.service.impl..*.*(..))

整个表达式可以分为五个部分:

1.execution()  表达式主题

2.第一个星号表示返回类型

3.包名 ..*-》后面跟两点 ,表示子包

4 *表示类名

5.最后一个*表示方法名

 

posted on 2017-01-10 21:45  老邱2  阅读(107)  评论(0编辑  收藏  举报

导航