摘要:
利用@PropertySource注解加载@Configuration@ComponentScan(basePackages="*")@PropertySource({"classpath:config.properties"})//@Import(DataSourceConfig.class)public class DefaultAppConfig { @Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { re 阅读全文
posted @ 2014-01-26 11:01
王 庆
阅读(472)
评论(0)
推荐(0)

浙公网安备 33010602011771号