Package | Description |
---|---|
org.springframework.test.context.web |
Web support classes for the Spring TestContext Framework.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractGenericWebContextLoader.configureWebResources(GenericWebApplicationContext context,
WebMergedContextConfiguration webMergedConfig)
Configures web resources for the supplied web application context (WAC).
|
protected void |
AbstractGenericWebContextLoader.customizeBeanFactory(DefaultListableBeanFactory beanFactory,
WebMergedContextConfiguration webMergedConfig)
Customize the internal bean factory of the
WebApplicationContext
created by this context loader. |
protected void |
AbstractGenericWebContextLoader.customizeContext(GenericWebApplicationContext context,
WebMergedContextConfiguration webMergedConfig)
Customize the
GenericWebApplicationContext created by this context
loader after bean definitions have been loaded into the context but
before the context is refreshed. |
protected void |
AnnotationConfigWebContextLoader.loadBeanDefinitions(GenericWebApplicationContext context,
WebMergedContextConfiguration webMergedConfig)
Register classes in the supplied context
from the classes in the supplied
WebMergedContextConfiguration . |
protected abstract void |
AbstractGenericWebContextLoader.loadBeanDefinitions(GenericWebApplicationContext context,
WebMergedContextConfiguration webMergedConfig)
Load bean definitions into the supplied
context
from the locations or classes in the supplied WebMergedContextConfiguration . |
protected void |
GenericXmlWebContextLoader.loadBeanDefinitions(GenericWebApplicationContext context,
WebMergedContextConfiguration webMergedConfig)
Load bean definitions into the supplied
context
from the locations in the supplied WebMergedContextConfiguration , using an
XmlBeanDefinitionReader . |
protected void |
GenericGroovyXmlWebContextLoader.loadBeanDefinitions(GenericWebApplicationContext context,
WebMergedContextConfiguration webMergedConfig)
Load bean definitions into the supplied
context
from the locations in the supplied WebMergedContextConfiguration using a
GroovyBeanDefinitionReader . |
protected void |
AnnotationConfigWebContextLoader.validateMergedContextConfiguration(WebMergedContextConfiguration webMergedConfig)
Ensure that the supplied
WebMergedContextConfiguration does not
contain locations . |
protected void |
AbstractGenericWebContextLoader.validateMergedContextConfiguration(WebMergedContextConfiguration mergedConfig)
Validate the supplied
WebMergedContextConfiguration with respect to
what this context loader supports. |
protected void |
GenericXmlWebContextLoader.validateMergedContextConfiguration(WebMergedContextConfiguration webMergedConfig)
Ensure that the supplied
WebMergedContextConfiguration does not
contain classes . |