Uses of Class
org.springframework.web.context.support.GenericWebApplicationContext
Package
Description
Web support classes for the Spring TestContext Framework.
-
Uses of GenericWebApplicationContext in org.springframework.test.context.web
Modifier and TypeMethodDescriptionprotected GenericWebApplicationContext
AbstractGenericWebContextLoader.createContext()
Factory method for creating theGenericWebApplicationContext
used by thisContextLoader
.AbstractGenericWebContextLoader.loadContextForAotProcessing
(MergedContextConfiguration mergedConfig) Load aGenericWebApplicationContext
for AOT build-time processing based on the suppliedMergedContextConfiguration
.AbstractGenericWebContextLoader.loadContextForAotRuntime
(MergedContextConfiguration mergedConfig, ApplicationContextInitializer<ConfigurableApplicationContext> initializer) Load aGenericWebApplicationContext
for AOT run-time execution based on the suppliedMergedContextConfiguration
andApplicationContextInitializer
.Modifier and TypeMethodDescriptionprotected void
AbstractGenericWebContextLoader.configureWebResources
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Configures web resources for the supplied web application context (WAC).protected void
AbstractGenericWebContextLoader.customizeContext
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Customize theGenericWebApplicationContext
created by this context loader after bean definitions have been loaded into the context but before the context is refreshed.protected abstract void
AbstractGenericWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Load bean definitions into the suppliedcontext
from the locations or classes in the suppliedWebMergedContextConfiguration
.protected void
AnnotationConfigWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Register classes in the supplied context from the classes in the suppliedWebMergedContextConfiguration
.protected void
GenericGroovyXmlWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Load bean definitions into the suppliedcontext
from the locations in the suppliedWebMergedContextConfiguration
using aGroovyBeanDefinitionReader
.protected void
GenericXmlWebContextLoader.loadBeanDefinitions
(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) Load bean definitions into the suppliedcontext
from the locations in the suppliedWebMergedContextConfiguration
, using anXmlBeanDefinitionReader
.