インターフェース BootstrapContext
- すべての既知の実装クラス:
DefaultBootstrapContext
public interface BootstrapContext
BootstrapContext
は、Spring TestContext フレームワークがブートストラップされるコンテキストをカプセル化します。- 導入:
- 4.1
- 作成者:
- Sam Brannen
- 関連事項:
方法の概要
修飾子と型メソッド説明ContextCache
との透過的な相互作用に使用するCacheAwareContextLoaderDelegate
を取得します。ClassSE<?>
このブートストラップコンテキストのテストクラスSEを取得します。
メソッドの詳細
getTestClass
ClassSE<?> getTestClass()このブートストラップコンテキストのテストクラスSEを取得します。- 戻り値:
- テストクラス (非
null
)
getCacheAwareContextLoaderDelegate
CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate()ContextCache
との透過的な相互作用に使用するCacheAwareContextLoaderDelegate
を取得します。- 戻り値:
- コンテキストローダーデリゲート (非
null
)