Interface ContextCache.LoadFunction
- Enclosing interface:
ContextCache
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a function that loads an
ApplicationContext
.- Since:
- 7.0
- Author:
- Sam Brannen, Juergen Hoeller
-
Method Summary
Modifier and TypeMethodDescriptionloadContext
(MergedContextConfiguration mergedConfig) Load a newApplicationContext
based on the suppliedMergedContextConfiguration
and return the context in a fully refreshed state.
-
Method Details
-
loadContext
Load a newApplicationContext
based on the suppliedMergedContextConfiguration
and return the context in a fully refreshed state.- Parameters:
mergedConfig
- the merged context configuration to use to load the application context- Returns:
- a new application context; never
null
- See Also:
-