| Package | Description | 
|---|---|
| org.springframework.test.context | 
 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. 
 | 
| org.springframework.test.context.web | 
 Web support classes for the Spring TestContext Framework. 
 | 
| org.springframework.web.context | 
 Contains a variant of the application context interface for web applications,
 and the ContextLoaderListener that bootstraps a root web application context. 
 | 
| org.springframework.web.servlet | 
 Provides servlets that integrate with the application context
 infrastructure, and the core interfaces and classes for the
 Spring web MVC framework. 
 | 
| org.springframework.web.servlet.support | 
 Support classes for Spring's web MVC framework. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Class<? extends ApplicationContextInitializer<?>>> | 
MergedContextConfiguration.getContextInitializerClasses()
Get the merged  
ApplicationContextInitializer classes for the
 test class. | 
| Constructor and Description | 
|---|
MergedContextConfiguration(Class<?> testClass,
                          String[] locations,
                          Class<?>[] classes,
                          Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
                          String[] activeProfiles,
                          ContextLoader contextLoader)
Create a new  
MergedContextConfiguration instance 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 new  
MergedContextConfiguration instance for the
 supplied parameters. | 
MergedContextConfiguration(Class<?> testClass,
                          String[] locations,
                          Class<?>[] classes,
                          Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
                          String[] activeProfiles,
                          String[] propertySourceLocations,
                          String[] propertySourceProperties,
                          ContextLoader contextLoader,
                          CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
                          MergedContextConfiguration parent)
Create a new  
MergedContextConfiguration instance for the
 supplied parameters. | 
MergedContextConfiguration(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)
Create a new  
MergedContextConfiguration instance for the
 supplied parameters. | 
| Constructor and Description | 
|---|
WebMergedContextConfiguration(Class<?> testClass,
                             String[] locations,
                             Class<?>[] classes,
                             Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
                             String[] activeProfiles,
                             String[] propertySourceLocations,
                             String[] propertySourceProperties,
                             Set<ContextCustomizer> contextCustomizers,
                             String resourceBasePath,
                             ContextLoader contextLoader,
                             CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
                             MergedContextConfiguration parent)
Create a new  
WebMergedContextConfiguration instance for the
 supplied parameters. | 
WebMergedContextConfiguration(Class<?> testClass,
                             String[] locations,
                             Class<?>[] classes,
                             Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
                             String[] activeProfiles,
                             String[] propertySourceLocations,
                             String[] propertySourceProperties,
                             String resourceBasePath,
                             ContextLoader contextLoader,
                             CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
                             MergedContextConfiguration parent)
Create a new  
WebMergedContextConfiguration instance for the
 supplied parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
protected ApplicationContextInitializer<?>[] | 
AbstractContextLoaderInitializer.getRootApplicationContextInitializers()
Specify application context initializers to be applied to the root application
 context that the  
ContextLoaderListener is being created with. | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<Class<ApplicationContextInitializer<ConfigurableApplicationContext>>> | 
ContextLoader.determineContextInitializerClasses(ServletContext servletContext)
Return the  
ApplicationContextInitializer implementation classes to use
 if any have been specified by ContextLoader.CONTEXT_INITIALIZER_CLASSES_PARAM. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ContextLoader.setContextInitializers(ApplicationContextInitializer<?>... initializers)
Specify which  
ApplicationContextInitializer instances should be used
 to initialize the application context used by this ContextLoader. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FrameworkServlet.setContextInitializers(ApplicationContextInitializer<?>... initializers)
Specify which  
ApplicationContextInitializer instances should be used
 to initialize the application context used by this FrameworkServlet. | 
| Modifier and Type | Method and Description | 
|---|---|
protected ApplicationContextInitializer<?>[] | 
AbstractDispatcherServletInitializer.getServletApplicationContextInitializers()
Specify application context initializers to be applied to the servlet-specific
 application context that the  
DispatcherServlet is being created with. |