【发布时间】:2013-03-14 17:12:54
【问题描述】:
我正在加载一个属性文件
@PropertySource("classpath:propFile.properties")
在此属性文件中,我有以下条目:
list.of.stg=a,b,c
此外,我愿意:
@Value("${list.of.stg}")public void setSomeList(...)<br>{in the method, the parameter has only the value a!!!}
您能否告诉我一种达到完整价值观的方法
list.of.stg 谢谢!
【问题讨论】:
标签: java spring properties inject