类的使用
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext
-
org.springframework.boot.web.servlet.context中ServletWebServerApplicationContext的使用
修饰符和类型类说明class
ServletWebServerApplicationContext
that accepts annotated classes as input - in particular@Configuration
-annotated classes, but also plain@Component
classes and JSR-330 compliant classes usingjavax.inject
annotations.class
ServletWebServerApplicationContext
which 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)