aop and tx

来源:互联网 发布:刷推广注册软件 编辑:程序博客网 时间:2024/06/05 19:41
/ 指定切入点表单式: 拦截哪些方法; 即为哪些类生成代理对象

@Pointcut("execution(* cn.itcast.e_aop_anno.*.*(..))")

  

<aop:config>
<aop:advisor advice-ref="advice"
pointcut="execution(* cn.itcast.scm.service.impl.*.*(..))" />
</aop:config>

understand the mean of the configration of aop.

原创粉丝点击