Skip to content

Deprecate put(MergedContextConfiguration, ApplicationContext) in ContextCache #35415

@sbrannen

Description

@sbrannen

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions