接口的使用
org.springframework.aop.AfterAdvice
使用AfterAdvice的程序包 程序包 说明 org.springframework.aop Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.org.springframework.aop.aspectj AspectJ integration package.org.springframework.aop.framework.adapter SPI package allowing Spring AOP framework to handle arbitrary advice types.org.springframework.aop中AfterAdvice的使用
org.springframework.aop中AfterAdvice的子接口 修饰符和类型 接口 说明 interfaceAfterReturningAdviceAfter returning advice is invoked only on normal method return, not if an exception is thrown.interfaceThrowsAdviceTag interface for throws advice.org.springframework.aop.aspectj中AfterAdvice的使用
实现AfterAdvice的org.springframework.aop.aspectj中的类 修饰符和类型 类 说明 classAspectJAfterAdviceSpring AOP advice wrapping an AspectJ after advice method.classAspectJAfterReturningAdviceSpring AOP advice wrapping an AspectJ after-returning advice method.classAspectJAfterThrowingAdviceSpring AOP advice wrapping an AspectJ after-throwing advice method.org.springframework.aop.framework.adapter中AfterAdvice的使用
实现AfterAdvice的org.springframework.aop.framework.adapter中的类 修饰符和类型 类 说明 classAfterReturningAdviceInterceptorInterceptor to wrap anAfterReturningAdvice.classThrowsAdviceInterceptorInterceptor to wrap an after-throwing advice.