<bean id="whitespaceAspect" class="com.extend.aop.TrimInterceptor" />
<aop:config>
<aop:aspect ref="TrimwhitespaceAspect">
<aop:pointcut id="trimWhitespacePointCut"
expression="execution(* com.base.dao.CommonDAO.selec*(..)) )" />
<aop:after-returng pointcut-ref="trimWhitespacePointCut"
method="trimWhitespaces" returng="returnedData" />
</aop:aspect>
</aop:config>
No comments:
Post a Comment