Class DefaultTestContextBootstrapper
java.lang.Object
org.springframework.test.context.support.AbstractTestContextBootstrapper
org.springframework.test.context.support.DefaultTestContextBootstrapper
- All Implemented Interfaces:
- TestContextBootstrapper
- Direct Known Subclasses:
- WebTestContextBootstrapper
Default implementation of the 
TestContextBootstrapper SPI.
 Uses DelegatingSmartContextLoader as the default ContextLoader.
- Since:
- 4.1
- Author:
- Sam Brannen
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Class<? extends ContextLoader>getDefaultContextLoaderClass(Class<?> testClass) ReturnsDelegatingSmartContextLoader.Methods inherited from class org.springframework.test.context.support.AbstractTestContextBootstrapperbuildMergedContextConfiguration, buildTestContext, getBootstrapContext, getCacheAwareContextLoaderDelegate, getContextCustomizerFactories, getDefaultTestExecutionListenerClasses, getDefaultTestExecutionListenerClassNames, getTestExecutionListeners, processMergedContextConfiguration, resolveContextLoader, resolveExplicitContextLoaderClass, setBootstrapContext
- 
Constructor Details- 
DefaultTestContextBootstrapperpublic DefaultTestContextBootstrapper()
 
- 
- 
Method Details- 
getDefaultContextLoaderClassReturnsDelegatingSmartContextLoader.- Specified by:
- getDefaultContextLoaderClassin class- AbstractTestContextBootstrapper
- Parameters:
- testClass- the test class for which to retrieve the default- ContextLoaderclass
- Returns:
- the default ContextLoaderclass for the supplied test class (nevernull)
 
 
-