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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContextLoader
Abstract application context loader that provides a basis for all concrete
implementations of the
ContextLoader SPI. |
class |
AbstractDelegatingSmartContextLoader
AbstractDelegatingSmartContextLoader serves as an abstract base class
for implementations of the SmartContextLoader 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 |
AbstractGenericContextLoader
Abstract, generic extension of
AbstractContextLoader that loads a
GenericApplicationContext . |
class |
AnnotationConfigContextLoader
Concrete implementation of
AbstractGenericContextLoader that loads
bean definitions from component classes. |
class |
DelegatingSmartContextLoader
DelegatingSmartContextLoader is a concrete implementation of
AbstractDelegatingSmartContextLoader that delegates to a
GenericXmlContextLoader (or a GenericGroovyXmlContextLoader if Groovy
is present in the classpath) and an AnnotationConfigContextLoader . |
class |
GenericGroovyXmlContextLoader
Concrete implementation of
AbstractGenericContextLoader that reads
bean definitions from Groovy scripts and XML configuration files. |
class |
GenericPropertiesContextLoader
Concrete implementation of
AbstractGenericContextLoader that reads
bean definitions from Java Properties resources. |
class |
GenericXmlContextLoader
Concrete implementation of
AbstractGenericContextLoader that reads
bean definitions from XML resources. |
Modifier and Type | Method and Description |
---|---|
protected abstract SmartContextLoader |
AbstractDelegatingSmartContextLoader.getAnnotationConfigLoader()
Get the delegate
SmartContextLoader that supports annotated classes. |
protected SmartContextLoader |
DelegatingSmartContextLoader.getAnnotationConfigLoader() |
protected abstract SmartContextLoader |
AbstractDelegatingSmartContextLoader.getXmlLoader()
Get the delegate
SmartContextLoader that supports XML configuration
files and/or Groovy scripts. |
protected SmartContextLoader |
DelegatingSmartContextLoader.getXmlLoader() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGenericWebContextLoader
Abstract, generic extension of
AbstractContextLoader that loads a
GenericWebApplicationContext . |
class |
AnnotationConfigWebContextLoader
Concrete implementation of
AbstractGenericWebContextLoader that loads
bean definitions from annotated classes. |
class |
GenericGroovyXmlWebContextLoader
Concrete implementation of
AbstractGenericWebContextLoader that loads
bean definitions from Groovy scripts and XML configuration files. |
class |
GenericXmlWebContextLoader
Concrete implementation of
AbstractGenericWebContextLoader that loads
bean definitions from XML resources. |
class |
WebDelegatingSmartContextLoader
WebDelegatingSmartContextLoader is a concrete implementation of
AbstractDelegatingSmartContextLoader that delegates to a
GenericXmlWebContextLoader (or a GenericGroovyXmlWebContextLoader if
Groovy is present on the classpath) and an AnnotationConfigWebContextLoader . |
Modifier and Type | Method and Description |
---|---|
protected SmartContextLoader |
WebDelegatingSmartContextLoader.getAnnotationConfigLoader() |
protected SmartContextLoader |
WebDelegatingSmartContextLoader.getXmlLoader() |