クラス DefaultCacheAwareContextLoaderDelegate

java.lang.ObjectSE
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate
実装されたすべてのインターフェース:
CacheAwareContextLoaderDelegate

public class DefaultCacheAwareContextLoaderDelegate extends ObjectSE implements CacheAwareContextLoaderDelegate
CacheAwareContextLoaderDelegate インターフェースのデフォルト実装。

静的 DefaultContextCache を使用するには、DefaultCacheAwareContextLoaderDelegate() コンストラクターを呼び出します。それ以外の場合は、DefaultCacheAwareContextLoaderDelegate(ContextCache) を呼び出して、カスタム ContextCache 実装を提供します。

Spring Framework 6.0 の時点で、このクラスは SpringFactoriesLoader メカニズムを介して ApplicationContextFailureProcessor 実装をロードし、loadContext(MergedContextConfiguration) でそれらに委譲して、コンテキストのロードエラーを処理します。

導入:
4.1
作成者:
Sam Brannen