AOP的原理和实例
AOP的原理对哪些对象在什么位置拦截做什么 <=> <aop:before method="before" pointcut-ref="txPointcut" />哪些对象<!-- 定义切面,所有的service的所有方法 --> <aop:pointcut id="txPointcut" expression="execution(* com.masterslave.service.*.*(..))" /> dataSourceAspec...
原创
Java
313
2017-08-07 08:59