public class CacheAwareContextLoaderDelegate extends Object
CacheAwareContextLoaderDelegateloads application contexts from
MergedContextConfigurationby delegating to the
ContextLoaderconfigured in the
MergedContextConfigurationand interacting transparently with the
ContextCachebehind the scenes.
|Modifier and Type||Method and Description|
public ApplicationContext loadContext(MergedContextConfiguration mergedContextConfiguration)
application contextfor the supplied merged context configuration.
If the context is present in the cache it will simply be returned; otherwise, it will be loaded, stored in the cache, and returned.
IllegalStateException- if an error occurs while retrieving or loading the application context