类 AotMergedContextConfiguration
java.lang.Object
cn.taketoday.test.context.MergedContextConfiguration
cn.taketoday.test.context.cache.AotMergedContextConfiguration
- 所有已实现的接口:
Serializable
MergedContextConfiguration implementation based on an AOT-generated
ApplicationContextInitializer that is used to load an AOT-optimized
ApplicationContext.
An ApplicationContext should not be loaded using the metadata in
this AotMergedContextConfiguration. Rather the metadata from the
original MergedContextConfiguration must
be used.
- 从以下版本开始:
- 4.0
- 作者:
- Sam Brannen, Harry Yang
-
字段概要
字段修饰符和类型字段说明private final Class<? extends cn.taketoday.context.ApplicationContextInitializer>private final MergedContextConfigurationprivate static final long -
构造器概要
构造器构造器说明AotMergedContextConfiguration(Class<?> testClass, Class<? extends cn.taketoday.context.ApplicationContextInitializer> contextInitializerClass, MergedContextConfiguration original, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate) -
方法概要
修饰符和类型方法说明booleanDetermine if the supplied object is equal to thisMergedContextConfigurationinstance by comparing both objects' locations, annotated classes, context initializer classes, active profiles, property source descriptors, property source properties, context customizers, parents, and the fully qualified names of theirContextLoaders.(专用程序包) MergedContextConfigurationGet the originalMergedContextConfigurationthat thisAotMergedContextConfigurationwas created for.inthashCode()Generate a unique hash code for all properties of thisMergedContextConfigurationexcluding the test class.toString()Provide a String representation of the test class, locations, annotated classes, context initializer classes, active profiles, property source descriptors, property source properties, context customizers, the name of theContextLoader, and the parent configuration.从类继承的方法 cn.taketoday.test.context.MergedContextConfiguration
getActiveProfiles, getClasses, getContextCustomizers, getContextInitializerClasses, getContextLoader, getLocations, getParent, getParentApplicationContext, getPropertySourceDescriptors, getPropertySourceLocations, getPropertySourceProperties, getTestClass, hasClasses, hasLocations, hasResources, nullSafeClassName, processStrings
-
字段详细资料
-
构造器详细资料
-
AotMergedContextConfiguration
AotMergedContextConfiguration(Class<?> testClass, Class<? extends cn.taketoday.context.ApplicationContextInitializer> contextInitializerClass, MergedContextConfiguration original, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)
-
-
方法详细资料
-
getOriginal
MergedContextConfiguration getOriginal()Get the originalMergedContextConfigurationthat thisAotMergedContextConfigurationwas created for. -
equals
从类复制的说明:MergedContextConfigurationDetermine if the supplied object is equal to thisMergedContextConfigurationinstance by comparing both objects' locations, annotated classes, context initializer classes, active profiles, property source descriptors, property source properties, context customizers, parents, and the fully qualified names of theirContextLoaders.- 覆盖:
equals在类中MergedContextConfiguration
-
hashCode
public int hashCode()从类复制的说明:MergedContextConfigurationGenerate a unique hash code for all properties of thisMergedContextConfigurationexcluding the test class.- 覆盖:
hashCode在类中MergedContextConfiguration
-
toString
从类复制的说明:MergedContextConfigurationProvide a String representation of the test class, locations, annotated classes, context initializer classes, active profiles, property source descriptors, property source properties, context customizers, the name of theContextLoader, and the parent configuration.- 覆盖:
toString在类中MergedContextConfiguration
-