Spring AOP 配置的十九个关键元素


context:component-scan base-pakage

aop:aspectj-autoproxy 

Aomponent

Aspect

Before

Arround

After

AfterReturning

AfterThrowing

ProceedJoinPoint.proceed

Pointcut(value="execution(* com.life.user.add(..))")

Order(1)

Configuration

ComponentScan(basePackages = {" "})

EnableAspectJAutoProxy

aop:config

aop:pointcut id expression

aop:aspect ref

aop:before method pointcut-ref