spring AOP——AfterReturningAdvice接口实现方法执行后通知

spring AOP——AfterReturningAdvice接口实现方法执行后通知

<bean id="kmsCommonAdviceService"
	class="com.landray.kmss.kms.common.service.KmsCommonAdviceService">
</bean>

<bean id="kmsPointcutAdvisorService"
	class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
	<property name="advice">
		<ref bean="kmsCommonAdviceService" />
	</property>
	<property name="pattern" value=".*" />
</bean>

https://blog.csdn.net/Milan__Kundera/article/details/82287843

posted @ 2021-01-22 16:32  灯塔下的守望者  阅读(354)  评论(2编辑  收藏  举报