Uses of Interface
org.springframework.context.ApplicationContextInitializer
Packages that use ApplicationContextInitializer
Package
Description
AOT support for application contexts.
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Ahead-of-time (AOT) support for the Spring TestContext Framework.
Support classes for the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Support classes for Spring's web MVC framework.
-
Uses of ApplicationContextInitializer in org.springframework.context.aot
Subinterfaces of ApplicationContextInitializer in org.springframework.context.aotModifier and TypeInterfaceDescriptioninterfaceSpecializedApplicationContextInitializerused to initialize aConfigurableApplicationContextusing artifacts that were generated ahead-of-time.Methods in org.springframework.context.aot that return ApplicationContextInitializerModifier and TypeMethodDescriptionstatic <C extends ConfigurableApplicationContext>
ApplicationContextInitializer<C>AotApplicationContextInitializer.instantiateInitializer(String initializerClassName, ClassLoader classLoader) -
Uses of ApplicationContextInitializer in org.springframework.test.context
Methods in org.springframework.test.context that return types with arguments of type ApplicationContextInitializerModifier and TypeMethodDescriptionSet<Class<? extends ApplicationContextInitializer<?>>>MergedContextConfiguration.getContextInitializerClasses()Get the mergedApplicationContextInitializerclasses for the test class.Class<? extends ApplicationContextInitializer<?>>[]ContextConfigurationAttributes.getInitializers()Get theApplicationContextInitializerclasses that were declared via@ContextConfiguration.Constructor parameters in org.springframework.test.context with type arguments of type ApplicationContextInitializerModifierConstructorDescriptionMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Deprecated.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, List<PropertySourceDescriptor> propertySourceDescriptors, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters. -
Uses of ApplicationContextInitializer in org.springframework.test.context.aot
Methods in org.springframework.test.context.aot that return ApplicationContextInitializerModifier and TypeMethodDescriptionAotTestContextInitializers.getContextInitializer(Class<?> testClass) Get the AOTApplicationContextInitializerfor the specified test class.Methods in org.springframework.test.context.aot that return types with arguments of type ApplicationContextInitializerModifier and TypeMethodDescriptionAotTestContextInitializers.getContextInitializerClass(Class<?> testClass) Get the AOTApplicationContextInitializerClassfor the specified test class.Methods in org.springframework.test.context.aot with parameters of type ApplicationContextInitializerModifier and TypeMethodDescriptionAotContextLoader.loadContextForAotRuntime(MergedContextConfiguration mergedConfig, ApplicationContextInitializer<ConfigurableApplicationContext> initializer) Load a newApplicationContextfor AOT run-time execution based on the suppliedMergedContextConfigurationandApplicationContextInitializer. -
Uses of ApplicationContextInitializer in org.springframework.test.context.support
Methods in org.springframework.test.context.support with parameters of type ApplicationContextInitializerModifier and TypeMethodDescriptionfinal ApplicationContextAbstractDelegatingSmartContextLoader.loadContextForAotRuntime(MergedContextConfiguration mergedConfig, ApplicationContextInitializer<ConfigurableApplicationContext> initializer) Delegates to an appropriate candidateSmartContextLoaderto load an
MergedContextConfiguration(Class, String[], Class[], Set, String[], List, String[], Set, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration)