类的使用
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext
使用AbstractRefreshableWebApplicationContext的程序包 程序包 说明 org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.web.context.support中AbstractRefreshableWebApplicationContext的使用
org.springframework.web.context.support中AbstractRefreshableWebApplicationContext的子类 修饰符和类型 类 说明 class
AnnotationConfigWebApplicationContext
WebApplicationContext
implementation which accepts component classes as input — in particular@Configuration
-annotated classes, but also plain@Component
classes and JSR-330 compliant classes usingjavax.inject
annotations.class
GroovyWebApplicationContext
WebApplicationContext
implementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader
.class
XmlWebApplicationContext
WebApplicationContext
implementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader
.