AnnotationConfigServletWebServer

2022-07-29  本文已影响0人  engineer_tang

创建Context的时候回使用ApplicationContextFactory接口完成,当启动类型为Servlet时,会创建一个AnnotationConfigServletWebServerApplicationContext对象,当启动类型为REACTIVE时,会创建一个AnnotationConfigReactiveWebServerApplicationContext对象。这里主要讲AnnotationConfigServletWebServerApplicationContext。

在该类的构造方法上有两个初始化对象,分别是AnnotatedBeanDefinitionReader和ClassPathBeanDefinitionScanner。

1.

上一篇 下一篇

猜你喜欢

热点阅读