Hi,
I would like to use regexp to define bean names (i.e or ) in BeanNameAutoProxyCreator, but it does not work, the only pattern accepted is .
Code:
<beans>
<bean id="my-debugInterceptor" class="org.springframework.aop.interceptor.DebugInterceptor"/>
<bean id="my-traceInterceptor" class="org.springframework.aop.interceptor.TraceInterceptor"/>
<bean id="my-performanceMonitorInterceptor" class="org.springframework.aop.interceptor.PerformanceMonitorInterceptor"/>
<bean id="my-jamonPerformanceMonitorInterceptor" class="org.springframework.aop.interceptor.JamonPerformanceMonitorInterceptor"/>
<bean id="my-debugAutoProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<property name="interceptorNames">
<list>
<idref bean="my-traceInterceptor"/>
<idref bean="my-performanceMonitorInterceptor"/>
</list>
</property>
<property name="beanNames">
<list>
<value>*myBean*DAO</value>
<value>*myBean*Service</value>
</list>
</property>
</bean>
</beans>
Any suggestion will be welcome
, thanks in advance,
Kinds regards,
Steve