Package org.springframework.test.context
Interface BootstrapContext
- All Known Implementing Classes:
DefaultBootstrapContext
public interface BootstrapContext
BootstrapContext
encapsulates the context in which the Spring
TestContext Framework is bootstrapped.- Since:
- 4.1
- Author:
- Sam Brannen
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet theCacheAwareContextLoaderDelegate
to use for transparent interaction with theContextCache
.Class<?>
Get the test class for this bootstrap context.
-
Method Details
-
getTestClass
Class<?> getTestClass()Get the test class for this bootstrap context.- Returns:
- the test class (never
null
)
-
getCacheAwareContextLoaderDelegate
CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegate
to use for transparent interaction with theContextCache
.- Returns:
- the context loader delegate (never
null
)
-