81,092
社区成员
发帖
与我相关
我的任务
分享
<bean id="aspect" name="aspect" class="com.cssnb.admin.aop.main.UserActive"></bean>
<bean name="loggingAutoProxy" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<property name="beanNames">
<list>
<value>*Action</value>
</list>
</property>
<property name="interceptorNames">
<list>
<value>aspect</value>
</list>
</property>
</bean>
<aop:config>
<aop:aspect id="serviceAspect" ref="serviceMonitor">
<aop:pointcut id="service_cut" expression="execution(* com.cssnb..service.*.*(..))" />
<aop:before pointcut-ref="service_cut" method="doBefore"/>
<aop:after pointcut-ref="service_cut" method="doAfter"/>
<aop:around pointcut-ref="service_cut" method="doAround"/>
</aop:aspect>
</aop:config>
<bean name="serviceMonitor" class="com.cssnb.admin.aop.main.UserMonitor"></bean>
<property name="beanNames">
<list>
<value>*Action</value>
</list>
</property>