67,513
社区成员
发帖
与我相关
我的任务
分享
<aop:aspectj-autoproxy proxy-target-class="true"/>
<aop:config>
<aop:aspect id="TestAspect" ref="aspectTest">
<aop:pointcut expression="excution(* com.service.*.*(..))" id="at"/>
<aop:around method="aspect" pointcut-ref="at"/>
</aop:aspect>
</aop:config>
<bean id="test" class="com.service.impl.TestServiceImpl"></bean>
<bean id="aspectTest" class="com.aspect.AspectTest"></bean>
</beans>