spring AOP 配置多个pointCut
<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>
还没有评论,来说两句吧...