类 AotTestAttributesFactory

java.lang.Object
cn.taketoday.test.context.aot.AotTestAttributesFactory

final class AotTestAttributesFactory extends Object
Factory for AotTestAttributes.
从以下版本开始:
4.0
作者:
Sam Brannen, Harry Yang
  • 字段详细资料

    • attributes

      @Nullable private static volatile Map<String,String> attributes
  • 构造器详细资料

    • AotTestAttributesFactory

      private AotTestAttributesFactory()
  • 方法详细资料

    • getAttributes

      static Map<String,String> getAttributes()
      Get the underlying attributes map.

      If the map is not already loaded, this method loads the map from the generated class when running in AOT execution mode and otherwise creates a new map for storing attributes during the AOT processing phase.

    • reset

      static void reset()
      Reset the factory.

      Only for internal use.

    • loadAttributesMap

      private static Map<String,String> loadAttributesMap()