Uses of Interface
org.springframework.test.context.SmartContextLoader
Package
Description
Support classes for the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
-
Uses of SmartContextLoader in org.springframework.test.context.support
Modifier and TypeClassDescriptionclass
Abstract application context loader that provides a basis for all concrete implementations of theContextLoader
SPI.class
AbstractDelegatingSmartContextLoader
serves as an abstract base class for implementations of theSmartContextLoader
SPI 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.class
Abstract, generic extension ofAbstractContextLoader
that loads aGenericApplicationContext
.class
Concrete implementation ofAbstractGenericContextLoader
that loads bean definitions from component classes.class
DelegatingSmartContextLoader
is a concrete implementation ofAbstractDelegatingSmartContextLoader
that delegates to aGenericXmlContextLoader
(or aGenericGroovyXmlContextLoader
if Groovy is present in the classpath) and anAnnotationConfigContextLoader
.class
Concrete implementation ofAbstractGenericContextLoader
that reads bean definitions from Groovy scripts and XML configuration files.class
Deprecated.as of 5.3, in favor of Spring's common bean definition formats and/or custom loader implementationsclass
Concrete implementation ofAbstractGenericContextLoader
that reads bean definitions from XML resources.Modifier and TypeMethodDescriptionprotected abstract SmartContextLoader
AbstractDelegatingSmartContextLoader.getAnnotationConfigLoader()
Get the delegateSmartContextLoader
that supports annotated classes.protected SmartContextLoader
DelegatingSmartContextLoader.getAnnotationConfigLoader()
protected abstract SmartContextLoader
AbstractDelegatingSmartContextLoader.getXmlLoader()
Get the delegateSmartContextLoader
that supports XML configuration files and/or Groovy scripts.protected SmartContextLoader
DelegatingSmartContextLoader.getXmlLoader()
-
Uses of SmartContextLoader in org.springframework.test.context.web
Modifier and TypeClassDescriptionclass
Abstract, generic extension ofAbstractContextLoader
that loads aGenericWebApplicationContext
.class
Concrete implementation ofAbstractGenericWebContextLoader
that loads bean definitions from annotated classes.class
Concrete implementation ofAbstractGenericWebContextLoader
that loads bean definitions from Groovy scripts and XML configuration files.class
Concrete implementation ofAbstractGenericWebContextLoader
that loads bean definitions from XML resources.class
WebDelegatingSmartContextLoader
is a concrete implementation ofAbstractDelegatingSmartContextLoader
that delegates to aGenericXmlWebContextLoader
(or aGenericGroovyXmlWebContextLoader
if Groovy is present on the classpath) and anAnnotationConfigWebContextLoader
.Modifier and TypeMethodDescriptionprotected SmartContextLoader
WebDelegatingSmartContextLoader.getAnnotationConfigLoader()
protected SmartContextLoader
WebDelegatingSmartContextLoader.getXmlLoader()