@Deprecated public class GenericPropertiesContextLoader extends AbstractGenericContextLoader
AbstractGenericContextLoader
that reads
bean definitions from Java Properties
resources.logger
Constructor and Description |
---|
GenericPropertiesContextLoader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected BeanDefinitionReader |
createBeanDefinitionReader(GenericApplicationContext context)
Deprecated.
Creates a new
PropertiesBeanDefinitionReader . |
protected String |
getResourceSuffix()
Deprecated.
Returns "
-context.properties ". |
protected void |
validateMergedContextConfiguration(MergedContextConfiguration mergedConfig)
Deprecated.
Ensure that the supplied
MergedContextConfiguration does not
contain classes . |
createContext, customizeBeanFactory, customizeContext, loadBeanDefinitions, loadContext, loadContext, prepareContext
customizeContext, generateDefaultLocations, getResourceSuffixes, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations
public GenericPropertiesContextLoader()
protected BeanDefinitionReader createBeanDefinitionReader(GenericApplicationContext context)
PropertiesBeanDefinitionReader
.createBeanDefinitionReader
in class AbstractGenericContextLoader
context
- the context for which the BeanDefinitionReader
should be createdPropertiesBeanDefinitionReader
protected String getResourceSuffix()
-context.properties
".getResourceSuffix
in class AbstractContextLoader
null
or emptyAbstractContextLoader.generateDefaultLocations(Class)
,
AbstractContextLoader.getResourceSuffixes()
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)