作者:online168 | 来源:互联网 | 2023-10-11 09:39
spring源码分析AbstractRefreshableConfigApplicationContext父类中setConfigLocations方法源码:继续关注
spring 源码分析
AbstractRefreshableConfigApplicationContext父类中setConfigLocations方法源码:
继续关注AbstractRefreshableConfigApplicationContext父类中resolvePath方法源码:
getEnvironment方法
关注StandardEnvironment 类继承了父类 AbstractEnvironment
重写了customizePropertySources()方法
resolveRequiredPlaceholders()方法
resolveRequiredPlaceholders()方法
PropertyPlaceholderHelper类
PropertyPlaceholderHelper 属性占位符对象
重点关注parseStringValue()方法