Class DefaultCacheAwareContextLoaderDelegate

java.lang.Object
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate
All Implemented Interfaces:
CacheAwareContextLoaderDelegate

public class DefaultCacheAwareContextLoaderDelegate extends Object implements CacheAwareContextLoaderDelegate
Default implementation of the CacheAwareContextLoaderDelegate interface.

To use a static DefaultContextCache, invoke the DefaultCacheAwareContextLoaderDelegate() constructor; otherwise, invoke the DefaultCacheAwareContextLoaderDelegate(ContextCache) and provide a custom ContextCache implementation.

As of Spring Framework 6.0, this class loads ApplicationContextFailureProcessor implementations via the SpringFactoriesLoader mechanism and delegates to them in loadContext(MergedContextConfiguration) to process context load failures.

Since:
4.1
Author:
Sam Brannen