football取代本地文件具体实现细节
Spring Web 环境变量
PropertyPlaceHolderConfigurer 和 ProperiesFactoryBean
目前使用方式
在Application-context.xml 配置
PropertyPlaceHolderConfigurer
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:system.properties</value>
<value>classpath:facemask.properties</value>
<value>classpath:ximalaya-xdcs.properties</value>
</list>
</property>
</bean>
<!-- 使用 -- >
<mainstay:client i