public class GenericXmlWebContextLoader extends AbstractGenericWebContextLoader
AbstractGenericWebContextLoader
that loads
bean definitions from XML resources.Constructor and Description |
---|
GenericXmlWebContextLoader() |
Modifier and Type | Method and Description |
---|---|
protected String |
getResourceSuffix()
Returns "
-context.xml ". |
protected void |
loadBeanDefinitions(GenericWebApplicationContext context,
WebMergedContextConfiguration webMergedConfig)
Loads bean definitions using an
XmlBeanDefinitionReader . |
configureWebResources, customizeBeanFactory, customizeContext, loadContext, loadContext
generateDefaultLocations, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations
protected void loadBeanDefinitions(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig)
XmlBeanDefinitionReader
.loadBeanDefinitions
in class AbstractGenericWebContextLoader
context
- the context into which the bean definitions should be loadedwebMergedConfig
- the merged context configuration to use to load the
web application contextAbstractGenericWebContextLoader.loadBeanDefinitions(org.springframework.web.context.support.GenericWebApplicationContext, org.springframework.test.context.web.WebMergedContextConfiguration)
protected String getResourceSuffix()
-context.xml
".getResourceSuffix
in class AbstractContextLoader
null
or emptyAbstractContextLoader.generateDefaultLocations(Class)