-
Sep 19th, 2004, 11:03 AM
#1
BeanNameAutoProxyCreator: beanNames
It would be nice that the beanNames properties would strip out white space so it would be easier to specify the names in a readable matter. Eg
Instead of this:
<bean id="serviceProxyCreator" class="org.springframework.aop.framework.autoproxy .BeanNameAutoProxyCreator">
<property name="beanNames">
<value>com.toto.pk.service1,com.toto.pk.service2,c om.toto.pk.service3,com.toto.pk.service4</value>
</property>
<property name="interceptorNames">
<list>
<value>debugInterceptor</value>
</list>
</property>
</bean>
Have this:
<bean id="serviceProxyCreator" class="org.springframework.aop.framework.autoproxy .BeanNameAutoProxyCreator">
<property name="beanNames">
<value>
com.toto.pk.service1,
com.toto.pk.service2,
com.toto.pk.service3,
com.toto.pk.service4
</value>
</property>
<property name="interceptorNames">
<list>
<value>debugInterceptor</value>
</list>
</property>
</bean>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules