类 ApplicationContextInitializerUtils
java.lang.Object
cn.taketoday.test.context.support.ApplicationContextInitializerUtils
Utility methods for working with
ApplicationContextInitializers.
Although ApplicationContextInitializerUtils was first introduced
, the initial implementations of methods in this class
were based on the existing code base in ContextLoaderUtils.
- 从以下版本开始:
- 4.0
- 作者:
- Sam Brannen
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明resolveInitializerClasses(List<ContextConfigurationAttributes> configAttributesList) Resolve the set of mergedApplicationContextInitializerclasses for the supplied list ofContextConfigurationAttributes.
-
字段详细资料
-
logger
private static final cn.taketoday.logging.Logger logger
-
-
构造器详细资料
-
ApplicationContextInitializerUtils
ApplicationContextInitializerUtils()
-
-
方法详细资料
-
resolveInitializerClasses
static Set<Class<? extends cn.taketoday.context.ApplicationContextInitializer>> resolveInitializerClasses(List<ContextConfigurationAttributes> configAttributesList) Resolve the set of mergedApplicationContextInitializerclasses for the supplied list ofContextConfigurationAttributes.Note that the
inheritInitializersflag of@ContextConfigurationwill be taken into consideration. Specifically, if theinheritInitializersflag is set totruefor a given level in the class hierarchy represented by the provided configuration attributes, context initializer classes defined at the given level will be merged with those defined in higher levels of the class hierarchy.- 参数:
configAttributesList- the list of configuration attributes to process; must not benullor empty; must be ordered bottom-up (i.e., as if we were traversing up the class hierarchy)- 返回:
- the set of merged context initializer classes, including those from
superclasses if appropriate (never
null) - 从以下版本开始:
- 4.0
-