【发布时间】:2012-12-20 23:18:30
【问题描述】:
假设我有一个配置:
<bean id="batchJobProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>first.properties</value>
<value>second.properties</value>
</list>
</property>
</bean>
first.properties 具有属性“my.url=first.url” second.properties 具有属性“my.url=second.url”
那么哪个值将被注入“myUrl”bean?是否有任何已定义的属性解析顺序?
【问题讨论】:
-
看看这个链接-forum.springsource.org/…
标签: java spring properties