标签:content poi eth text method print ott cep size
<bean id="LogAdvice" class="com.thinkmore.framework.monitor.log.LogAdviceInterceptor">
<property name="cache">
<ref local="ehCache" />
</property>
</bean>
<aop:config proxy-target-class="true">
<aop:pointcut id="txPointcut" expression="execution(* com.thinkmore.business.service..*.*(..))" />
<aop:aspect order="0" ref="LogAdvice">
<aop:around method="intercept" pointcut-ref="txPointcut"/>
</aop:aspect>
</aop:config>
public Object intercept(ProceedingJoinPoint proceedingJoinPoint) throws Throwable {
return returnValue = proceedingJoinPoint.proceed();
}
<bean id="LogAdvice" class="com.thinkmore.framework.monitor.log.LogAdviceInterceptor">
<property name="cache">
<ref local="ehCache" />
</property>
</bean>
<aop:config proxy-target-class="true">
<aop:pointcut id="logPointcut" expression="execution(* com.thinkmore.business.service..*.*(..))" />
<aop:advisor advice-ref="LogAdvice" pointcut-ref="logPointcut" />
</aop:config>
标签:content poi eth text method print ott cep size
原文地址:http://www.cnblogs.com/zhchoutai/p/6958787.html