<aop:config> <aop:aspect id="aspectIntercept" ref="popedomManagerInterceptor"> <aop:pointcut id="pointCut" expression="execution(* com.action.userinfoAction..*(..))and execution(* com.action.memberAction..*(..)) and !execution(* get*(..)) and !execution(* set*(..))" /> <aop:before method="checkSecurity" pointcut-ref="pointCut" /> </aop:aspect> </aop:config> <bean id="popedomManagerInterceptor" class="com.aop.CmsPopedomManageInterceptor" scope="prototype"> </bean>
spring AOP 配置多个pointCut
最新推荐文章于 2022-12-17 13:07:09 发布