接口的使用
org.springframework.boot.web.context.WebServerApplicationContext
程序包
说明
Web integrations with Spring's
ApplicationContext.Reactive based web integrations with Spring's
ApplicationContext.Servlet based web integrations with Spring's
WebApplicationContext.-
org.springframework.boot.web.context中WebServerApplicationContext的使用
修饰符和类型接口说明interfaceSPI interface to be implemented by most if not allweb server application contexts.修饰符和类型方法说明abstract WebServerApplicationContextWebServerInitializedEvent.getApplicationContext()Access the application context that the server was created in.限定符构造器说明MissingWebServerFactoryBeanException(Class<? extends WebServerApplicationContext> webServerApplicationContextClass, Class<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) Create a newMissingWebServerFactoryBeanException. -
org.springframework.boot.web.reactive.context中WebServerApplicationContext的使用
修饰符和类型类说明classReactiveWebServerApplicationContextthat accepts annotated classes as input - in particular@Configuration-annotated classes, but also plain@Componentclasses and JSR-330 compliant classes usingjavax.injectannotations.classAGenericReactiveWebApplicationContextthat can be used to bootstrap itself from a containedReactiveWebServerFactorybean. -
org.springframework.boot.web.servlet.context中WebServerApplicationContext的使用
修饰符和类型类说明classServletWebServerApplicationContextthat accepts annotated classes as input - in particular@Configuration-annotated classes, but also plain@Componentclasses and JSR-330 compliant classes usingjavax.injectannotations.classAWebApplicationContextthat can be used to bootstrap itself from a containedServletWebServerFactorybean.classServletWebServerApplicationContextwhich takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.