美文网首页
AnnotationConfigServletWebServer

AnnotationConfigServletWebServer

作者: engineer_tang | 来源:发表于2022-07-29 11:24 被阅读0次

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

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

1.

相关文章

网友评论

      本文标题:AnnotationConfigServletWebServer

      本文链接:https://www.haomeiwen.com/subject/mdicwrtx.html