Uses of Interface
org.springframework.test.context.SmartContextLoader
Packages that use SmartContextLoader Package Description org.springframework.test.context.support Support classes for the Spring TestContext Framework.org.springframework.test.context.web Web support classes for the Spring TestContext Framework.Uses of SmartContextLoader in org.springframework.test.context.support
Classes in org.springframework.test.context.support that implement SmartContextLoader Modifier and Type Class Description classAbstractContextLoaderAbstract application context loader that provides a basis for all concrete implementations of theContextLoaderSPI.classAbstractDelegatingSmartContextLoaderAbstractDelegatingSmartContextLoaderserves as an abstract base class for implementations of theSmartContextLoaderSPI that delegate to a set of candidate SmartContextLoaders (i.e., one that supports XML configuration files or Groovy scripts and one that supports annotated classes) to determine which context loader is appropriate for a given test class's configuration.classAbstractGenericContextLoaderAbstract, generic extension ofAbstractContextLoaderthat loads aGenericApplicationContext.classAnnotationConfigContextLoaderConcrete implementation ofAbstractGenericContextLoaderthat loads bean definitions from component classes.classDelegatingSmartContextLoaderDelegatingSmartContextLoaderis a concrete implementation ofAbstractDelegatingSmartContextLoaderthat delegates to aGenericXmlContextLoader(or aGenericGroovyXmlContextLoaderif Groovy is present in the classpath) and anAnnotationConfigContextLoader.classGenericGroovyXmlContextLoaderConcrete implementation ofAbstractGenericContextLoaderthat reads bean definitions from Groovy scripts and XML configuration files.classGenericPropertiesContextLoaderConcrete implementation ofAbstractGenericContextLoaderthat reads bean definitions from JavaPropertiesresources.classGenericXmlContextLoaderConcrete implementation ofAbstractGenericContextLoaderthat reads bean definitions from XML resources.Methods in org.springframework.test.context.support that return SmartContextLoader Modifier and Type Method Description protected abstract SmartContextLoaderAbstractDelegatingSmartContextLoader. getAnnotationConfigLoader()Get the delegateSmartContextLoaderthat supports annotated classes.protected SmartContextLoaderDelegatingSmartContextLoader. getAnnotationConfigLoader()protected abstract SmartContextLoaderAbstractDelegatingSmartContextLoader. getXmlLoader()Get the delegateSmartContextLoaderthat supports XML configuration files and/or Groovy scripts.protected SmartContextLoaderDelegatingSmartContextLoader. getXmlLoader()Uses of SmartContextLoader in org.springframework.test.context.web
Classes in org.springframework.test.context.web that implement SmartContextLoader Modifier and Type Class Description classAbstractGenericWebContextLoaderAbstract, generic extension ofAbstractContextLoaderthat loads aGenericWebApplicationContext.classAnnotationConfigWebContextLoaderConcrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from annotated classes.classGenericGroovyXmlWebContextLoaderConcrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from Groovy scripts and XML configuration files.classGenericXmlWebContextLoaderConcrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from XML resources.classWebDelegatingSmartContextLoaderWebDelegatingSmartContextLoaderis a concrete implementation ofAbstractDelegatingSmartContextLoaderthat delegates to aGenericXmlWebContextLoader(or aGenericGroovyXmlWebContextLoaderif Groovy is present on the classpath) and anAnnotationConfigWebContextLoader.Methods in org.springframework.test.context.web that return SmartContextLoader Modifier and Type Method Description protected SmartContextLoaderWebDelegatingSmartContextLoader. getAnnotationConfigLoader()protected SmartContextLoaderWebDelegatingSmartContextLoader. getXmlLoader()