类的使用
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext
-
org.springframework.boot.web.servlet.context中ServletWebServerApplicationContext的使用
修饰符和类型类说明classServletWebServerApplicationContextthat accepts annotated classes as input - in particular@Configuration-annotated classes, but also plain@Componentclasses and JSR-330 compliant classes usingjavax.injectannotations.classServletWebServerApplicationContextwhich takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.修饰符和类型方法说明ServletWebServerInitializedEvent.getApplicationContext()Access the application context that the server was created in.限定符构造器说明ServletWebServerInitializedEvent(WebServer webServer, ServletWebServerApplicationContext applicationContext)