public class GenericPropertiesContextLoader extends AbstractGenericContextLoader
AbstractGenericContextLoader that reads
bean definitions from Java Properties resources.logger| Constructor and Description |
|---|
GenericPropertiesContextLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.factory.support.BeanDefinitionReader |
createBeanDefinitionReader(org.springframework.context.support.GenericApplicationContext context)
Creates a new
PropertiesBeanDefinitionReader. |
protected String |
getResourceSuffix()
Returns "
-context.properties". |
protected void |
validateMergedContextConfiguration(MergedContextConfiguration mergedConfig)
Ensure that the supplied
MergedContextConfiguration does not
contain classes. |
customizeBeanFactory, customizeContext, loadBeanDefinitions, loadContext, loadContext, prepareContextgenerateDefaultLocations, getResourceSuffixes, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocationsprotected org.springframework.beans.factory.support.BeanDefinitionReader createBeanDefinitionReader(org.springframework.context.support.GenericApplicationContext context)
PropertiesBeanDefinitionReader.createBeanDefinitionReader in class AbstractGenericContextLoadercontext - the context for which the BeanDefinitionReader
should be createdPropertiesBeanDefinitionReaderprotected String getResourceSuffix()
-context.properties".getResourceSuffix in class AbstractContextLoadernull or emptyAbstractContextLoader.generateDefaultLocations(Class),
AbstractContextLoader.getResourceSuffixes()protected void validateMergedContextConfiguration(MergedContextConfiguration mergedConfig)
MergedContextConfiguration does not
contain classes.validateMergedContextConfiguration in class AbstractGenericContextLoadermergedConfig - the merged configuration to validateAbstractGenericContextLoader.validateMergedContextConfiguration(org.springframework.test.context.MergedContextConfiguration)