kainz
Nov 19th, 2004, 10:12 AM
Hi at all.
I have a strange problem with BeanNameAutoProxyCreator.
My cfg file is:
<bean id="com.bytecode.osw.interfaces.IObjectLocator" class=".."/>
<bean id="oswBeanNameProxyCreator"
class="org.springframework.aop.framework.autoproxy.BeanNa meAutoProxyCreator">
<property name="beanNames"><value>com.bytecode.osw.interfaces.I*</value></property>
<property name="interceptorNames">
<list>
<value>myInterceptor</value>
</list>
</property>
</bean>
But this doesn't work, but if I use:
<property name="beanNames"><value>com.bytecode.osw.interfaces.IObject*</value></property>
it works!!!
Can someone help me?
I have a strange problem with BeanNameAutoProxyCreator.
My cfg file is:
<bean id="com.bytecode.osw.interfaces.IObjectLocator" class=".."/>
<bean id="oswBeanNameProxyCreator"
class="org.springframework.aop.framework.autoproxy.BeanNa meAutoProxyCreator">
<property name="beanNames"><value>com.bytecode.osw.interfaces.I*</value></property>
<property name="interceptorNames">
<list>
<value>myInterceptor</value>
</list>
</property>
</bean>
But this doesn't work, but if I use:
<property name="beanNames"><value>com.bytecode.osw.interfaces.IObject*</value></property>
it works!!!
Can someone help me?