类 GenericPropertiesContextLoader
java.lang.Object
cn.taketoday.test.context.support.AbstractContextLoader
cn.taketoday.test.context.support.AbstractGenericContextLoader
cn.taketoday.test.context.support.GenericPropertiesContextLoader
- 所有已实现的接口:
AotContextLoader,ContextLoader,SmartContextLoader
Concrete implementation of
AbstractGenericContextLoader that reads
bean definitions from Java Properties resources.- 从以下版本开始:
- 4.0 2022/4/2 10:53
- 作者:
- Sam Brannen, Harry Yang
-
字段概要
从类继承的字段 cn.taketoday.test.context.support.AbstractGenericContextLoader
log -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected cn.taketoday.beans.factory.support.BeanDefinitionReadercreateBeanDefinitionReader(cn.taketoday.context.support.GenericApplicationContext context) Creates a newPropertiesBeanDefinitionReader.protected StringReturns "-context.properties".protected voidvalidateMergedContextConfiguration(MergedContextConfiguration mergedConfig) Ensure that the suppliedMergedContextConfigurationdoes not containclasses.从类继承的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
createContext, customizeBeanFactory, customizeContext, loadBeanDefinitions, loadContext, loadContext, loadContextForAotProcessing, loadContextForAotRuntime, prepareContext从类继承的方法 cn.taketoday.test.context.support.AbstractContextLoader
customizeContext, generateDefaultLocations, getResourceSuffixes, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.test.context.SmartContextLoader
processContextConfiguration, processLocations
-
构造器详细资料
-
GenericPropertiesContextLoader
public GenericPropertiesContextLoader()
-
-
方法详细资料
-
createBeanDefinitionReader
protected cn.taketoday.beans.factory.support.BeanDefinitionReader createBeanDefinitionReader(cn.taketoday.context.support.GenericApplicationContext context) Creates a newPropertiesBeanDefinitionReader.- 指定者:
createBeanDefinitionReader在类中AbstractGenericContextLoader- 参数:
context- the context for which theBeanDefinitionReadershould be created- 返回:
- a new PropertiesBeanDefinitionReader
- 另请参阅:
-
PropertiesBeanDefinitionReader
-
getResourceSuffix
Returns "-context.properties".- 指定者:
getResourceSuffix在类中AbstractContextLoader- 返回:
- the resource suffix; never
nullor empty - 另请参阅:
-
validateMergedContextConfiguration
Ensure that the suppliedMergedContextConfigurationdoes not containclasses.- 覆盖:
validateMergedContextConfiguration在类中AbstractGenericContextLoader- 参数:
mergedConfig- the merged configuration to validate- 另请参阅:
-