@DeprecatedSE public class GenericPropertiesContextLoader extends AbstractGenericContextLoader
Properties
SE リソースから Bean 定義を読み取る AbstractGenericContextLoader
の具象実装。logger
コンストラクターと説明 |
---|
GenericPropertiesContextLoader() 使用すべきではありません。 |
修飾子と型 | メソッドと説明 |
---|---|
protected BeanDefinitionReader | createBeanDefinitionReader(GenericApplicationContext context) 使用すべきではありません。 新しい PropertiesBeanDefinitionReader を作成します。 |
protected StringSE | getResourceSuffix() 使用すべきではありません。 return" -context.properties "。 |
protected void | validateMergedContextConfiguration(MergedContextConfiguration mergedConfig) 使用すべきではありません。 提供された MergedContextConfiguration に classes が含まれていないことを確認してください。 |
createContext, customizeBeanFactory, customizeContext, loadBeanDefinitions, loadContext, loadContext, prepareContext
customizeContext, generateDefaultLocations, getResourceSuffixes, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected BeanDefinitionReader createBeanDefinitionReader(GenericApplicationContext context)
PropertiesBeanDefinitionReader
を作成します。AbstractGenericContextLoader
の createBeanDefinitionReader
context
- BeanDefinitionReader
を作成する必要があるコンテキスト PropertiesBeanDefinitionReader
protected StringSE getResourceSuffix()
-context.properties
"。AbstractContextLoader
の getResourceSuffix
null
または空にしない AbstractContextLoader.generateDefaultLocations(Class)
, AbstractContextLoader.getResourceSuffixes()
protected void validateMergedContextConfiguration(MergedContextConfiguration mergedConfig)
MergedContextConfiguration
に classes
が含まれていないことを確認してください。AbstractGenericContextLoader
の validateMergedContextConfiguration
mergedConfig
- 検証するマージされた構成 AbstractGenericContextLoader.validateMergedContextConfiguration(org.springframework.test.context.MergedContextConfiguration)