open class DefaultCacheAwareContextLoaderDelegate : 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.
Author
Sam Brannen
Since
4.1
DefaultCacheAwareContextLoaderDelegate()
Construct a new This default cache is static so that each context can be cached and reused for all subsequent tests that declare the same unique context configuration within the same JVM process. DefaultCacheAwareContextLoaderDelegate(contextCache: ContextCache)
Construct a new |
open fun closeContext(mergedContextConfiguration: MergedContextConfiguration, hierarchyMode: HierarchyMode): Unit |
|
open fun loadContext(mergedContextConfiguration: MergedContextConfiguration): ApplicationContext |