接口 BootstrapContext
- 所有已知实现类:
DefaultBootstrapContext
public interface BootstrapContext
BootstrapContextencapsulates the context in which the Spring TestContext Framework is bootstrapped.- 从以下版本开始:
- 4.1
- 作者:
- Sam Brannen
- 另请参阅:
BootstrapWith,TestContextBootstrapper
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 CacheAwareContextLoaderDelegategetCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.Class<?>getTestClass()Get the test class for this bootstrap context.
方法详细资料
getTestClass
Class<?> getTestClass()
Get the test class for this bootstrap context.- 返回:
- the test class (never
null)
getCacheAwareContextLoaderDelegate
CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate()
Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.- 返回:
- the context loader delegate (never
null)