0
Spring PropertyPlaceholderConfigurer獲取目錄位置並加載所有屬性文件,而無需顯式指定文件名。PropertyPlaceholderConfigurer - 它可以加載給定目錄路徑中的所有文件嗎?
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="<path to all properties files>" />
</bean>
有沒有其他辦法可以達到這個目的?