public class GenericPropertiesContextLoader extends AbstractGenericContextLoader
PropertiesSE リソースから Bean 定義を読み取る AbstractGenericContextLoader の具象実装。logger| コンストラクターと説明 |
|---|
GenericPropertiesContextLoader() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected BeanDefinitionReader | createBeanDefinitionReader(GenericApplicationContext context) 新しい PropertiesBeanDefinitionReader を作成します。 |
protected StringSE | getResourceSuffix()return" -context.properties"。 |
protected void | validateMergedContextConfiguration(MergedContextConfiguration mergedConfig) 提供された MergedContextConfiguration に classes が含まれていないことを確認してください。 |
customizeBeanFactory, customizeContext, loadBeanDefinitions, loadContext, loadContext, prepareContextcustomizeContext, generateDefaultLocations, getResourceSuffixes, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocationscloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected BeanDefinitionReader createBeanDefinitionReader(GenericApplicationContext context)
PropertiesBeanDefinitionReader を作成します。AbstractGenericContextLoader の createBeanDefinitionReader context - BeanDefinitionReader を作成する必要があるコンテキスト PropertiesBeanDefinitionReaderprotected 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)