zoukankan      html  css  js  c++  java
  • spring 的各种context

     

     AnnotationConfigServletWebServerApplicationContext 是spring boot在servelet下的默认context, 

    1: 在父类基于上,可以通过传入指定的包路径。可以通过构造函数,也可以通过scan 

    2: 还可以通过register来注策BeanDefintion

    ServletWebServerApplicationContext 作用是可以存储了webServer上下文,及其配置信息。
    1: 创建,初始化,执行webServer
    2:  Servlet or Filter 的类,被注册到系统中。
    3: 一般不直接使用
    AnnotationConfigServletWebServerApplicationContext or XmlServletWebServerApplicationContext variants.


    GenericWebApplicationContext

  • 相关阅读:
    ajax理论
    模块
    node.js(1)
    ES6
    data对象
    数组
    对象
    webdriver对应的驱动版本
    TrineaAndroidCommon API Guide
    PV,UV,IP概念
  • 原文地址:https://www.cnblogs.com/liujianping/p/14922308.html
Copyright © 2011-2022 走看看