Overview
In conjunction with #21007, we introduced a new put(MergedContextConfiguration, LoadFunction) method in the ContextCache API.
Going forward, clients of the ContextCache API should invoke put(MergedContextConfiguration, LoadFunction) instead of put(MergedContextConfiguration, ApplicationContext).
In light of that, we have decided to officially deprecate put(MergedContextConfiguration, ApplicationContext) in order to guide developers.
Note, however, that implementations of ContextCache will still need to implement put(MergedContextConfiguration, ApplicationContext) for historical reasons, even if that method may never be invoked.
Related Issues