<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">
IOC加入spring-core.jar、spring-beans.jar以及相关联的commons-logging.jar。如果需ApplicationContext等,加入spring-context.jar。AOP加入spring-aop.jar。对于2.0的XML和元字符的支持,加入asm.jar、asm-commons.jar和aspectjweaver.jar。
execution(类型 [i]返回值[/i] 类 [i]方法名[/i] 异常)
@Pointcut("execution(* *.*.*.service..*.insert*(..)) || execution(* *.*.*.service..*.update*(..)) ")