- 3
- 0
- 约1.31万字
- 约 69页
- 2019-12-31 发布于湖北
- 举报
2. 声明一个切入点 ???????? aop:config ?????????????? aop:pointcut id=myPointcut expression=excution(* com.service.*.*(..))/ aop:advisors pointcut-ref=myService advice-ref=tx-advice/ ???????? /aop:config 4.3.3 Spring AOP ?3. 声明一个通知 txt:advice id=tx-advice ???????tx:attributes ????????????????????? tx:method name=inser* propagation=REQUIRED rollback-for=Exception/????????????????????? tx:method name=updat* propagation=REQUIRED rollback-for=Exception /????????????????????? tx:method name=delet* propagation=REQUIRED rollback-for=Except
原创力文档

文档评论(0)