类 ApplicationContextInitializerUtils

java.lang.Object
cn.taketoday.test.context.support.ApplicationContextInitializerUtils

abstract class ApplicationContextInitializerUtils extends Object
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
另请参阅:
  • 字段详细资料

    • 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 merged ApplicationContextInitializer classes for the supplied list of ContextConfigurationAttributes.

      Note that the inheritInitializers flag of @ContextConfiguration will be taken into consideration. Specifically, if the inheritInitializers flag is set to true for 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 be null or 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