public class GenericXmlContextLoader extends AbstractGenericContextLoader
AbstractGenericContextLoader
that reads
bean definitions from XML resources.logger
Constructor and Description |
---|
GenericXmlContextLoader() |
Modifier and Type | Method and Description |
---|---|
protected BeanDefinitionReader |
createBeanDefinitionReader(GenericApplicationContext context)
Create a new
XmlBeanDefinitionReader . |
protected String |
getResourceSuffix()
Returns "
-context.xml ". |
protected void |
validateMergedContextConfiguration(MergedContextConfiguration mergedConfig)
Ensure that the supplied
MergedContextConfiguration does not
contain classes . |
customizeBeanFactory, customizeContext, loadBeanDefinitions, loadContext, loadContext, prepareContext
generateDefaultLocations, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations
protected BeanDefinitionReader createBeanDefinitionReader(GenericApplicationContext context)
XmlBeanDefinitionReader
.createBeanDefinitionReader
in class AbstractGenericContextLoader
context
- the context for which the BeanDefinitionReader
should be createdXmlBeanDefinitionReader
protected String getResourceSuffix()
-context.xml
".getResourceSuffix
in class AbstractContextLoader
null
or emptyAbstractContextLoader.generateDefaultLocations(Class)
protected void validateMergedContextConfiguration(MergedContextConfiguration mergedConfig)
MergedContextConfiguration
does not
contain classes
.validateMergedContextConfiguration
in class AbstractGenericContextLoader
mergedConfig
- the merged configuration to validateAbstractGenericContextLoader.validateMergedContextConfiguration(org.springframework.test.context.MergedContextConfiguration)