hello all,
i have written an interceptor that should be applied to all methods of all bean defined in my applicationContext.xml.
<bean id="jdkBeanNameProxyCreator"
class="org.springframework.aop.framework.autoproxy .BeanNameAutoProxyCreator">
<property name="beanNames">
<value>*Action*</value>
</property>
<property name="interceptorNames">
<value>tracingAdvisor</value>
</property>
</bean>
<bean id="tracingInterceptor" class="com.myapp.aop.TracingInterceptor"/>
<bean id="tracingAdvisor"
class="org.springframework.aop.support.RegexpMetho dPointcutAdvisor">
<property name="advice">
<ref local="tracingInterceptor"/>
</property>
<property name="pattern">
<value>.*</value>
</property>
</bean>
anyone can tell me where's the mistake?#
thanx and regards
marco


Reply With Quote