Class GenericPropertiesContextLoader
java.lang.Object
org.springframework.test.context.support.AbstractContextLoader
org.springframework.test.context.support.AbstractGenericContextLoader
org.springframework.test.context.support.GenericPropertiesContextLoader
- All Implemented Interfaces:
- ContextLoader,- SmartContextLoader
Deprecated.
as of 5.3, in favor of Spring's common bean definition formats
 and/or custom loader implementations
Concrete implementation of 
AbstractGenericContextLoader that reads
 bean definitions from Java Properties resources.- Since:
- 2.5
- Author:
- Sam Brannen
- 
Field SummaryFields inherited from class org.springframework.test.context.support.AbstractGenericContextLoaderlogger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected BeanDefinitionReaderDeprecated.Creates a newPropertiesBeanDefinitionReader.protected StringDeprecated.Returns "-context.properties".protected voidvalidateMergedContextConfiguration(MergedContextConfiguration mergedConfig) Deprecated.Ensure that the suppliedMergedContextConfigurationdoes not containclasses.Methods inherited from class org.springframework.test.context.support.AbstractGenericContextLoadercreateContext, customizeBeanFactory, customizeContext, loadBeanDefinitions, loadContext, loadContext, prepareContextMethods inherited from class org.springframework.test.context.support.AbstractContextLoadercustomizeContext, generateDefaultLocations, getResourceSuffixes, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations
- 
Constructor Details- 
GenericPropertiesContextLoaderpublic GenericPropertiesContextLoader()Deprecated.
 
- 
- 
Method Details- 
createBeanDefinitionReaderDeprecated.Creates a newPropertiesBeanDefinitionReader.- Specified by:
- createBeanDefinitionReaderin class- AbstractGenericContextLoader
- Parameters:
- context- the context for which the- BeanDefinitionReadershould be created
- Returns:
- a new PropertiesBeanDefinitionReader
- See Also:
 
- 
getResourceSuffixDeprecated.Returns "-context.properties".- Specified by:
- getResourceSuffixin class- AbstractContextLoader
- Returns:
- the resource suffix; never nullor empty
- See Also:
 
- 
validateMergedContextConfigurationDeprecated.Ensure that the suppliedMergedContextConfigurationdoes not containclasses.- Overrides:
- validateMergedContextConfigurationin class- AbstractGenericContextLoader
- Parameters:
- mergedConfig- the merged configuration to validate
- Since:
- 4.0.4
- See Also:
 
 
-