PropertyPlaceholderConfigurer implements BeanFactoryPostProcessor

BeanFactoryPostProcessor的应用

最常用的一个应用就是org.springframework.beans.factory.config.PropertyPlaceholderConfigurer,BeanDefinition生成后,可能某些参数是${key},这个实现类就是把前边这种参数转换成xxx.properties中key所对应的值。
posted @ 2019-11-28 18:12  java.matt  阅读(121)  评论(0)    收藏  举报