springboot启动流程

一句话总结:在context的refresh方法中,须要注册bean definition,实例化bean.在加载bean defintion的时候使用ConfigurationClassParser类来解析咱们的主类。而后在解析主类的时候发现了@EnableAutoConfiguratio注解中的@Import注解,就去处理@Import注解中的value值,而后就使用ImportSelecto
相关文章
相关标签/搜索