Package org.springframework.test.context.web
Web support classes for the Spring TestContext Framework.
Class Summary Class Description AbstractGenericWebContextLoader Abstract, generic extension ofAbstractContextLoaderthat loads aGenericWebApplicationContext.AnnotationConfigWebContextLoader Concrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from annotated classes.GenericGroovyXmlWebContextLoader Concrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from Groovy scripts and XML configuration files.GenericXmlWebContextLoader Concrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from XML resources.ServletTestExecutionListener TestExecutionListenerwhich provides mock Servlet API support toWebApplicationContextsloaded by the Spring TestContext Framework.WebDelegatingSmartContextLoader WebDelegatingSmartContextLoaderis a concrete implementation ofAbstractDelegatingSmartContextLoaderthat delegates to aGenericXmlWebContextLoader(or aGenericGroovyXmlWebContextLoaderif Groovy is present on the classpath) and anAnnotationConfigWebContextLoader.WebMergedContextConfiguration WebMergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses via@ContextConfiguration,@WebAppConfiguration, and@ActiveProfiles.WebTestContextBootstrapper Web-specific implementation of theTestContextBootstrapperSPI.Annotation Types Summary Annotation Type Description WebAppConfiguration @WebAppConfigurationis a class-level annotation that is used to declare that theApplicationContextloaded for an integration test should be aWebApplicationContext.