Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow default CacheAwareContextLoaderDelegate configuration via a system property #27540

Closed
1 task done
sbrannen opened this issue Oct 10, 2021 · 0 comments
Closed
1 task done
Assignees
Labels
in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Oct 10, 2021

Overview

As a follow up to #17282, we should allow the default CacheAwareContextLoaderDelegate in the Spring TestContext Framework (TCF) to be configured via a JVM system property or Spring Property.

This will allow third parties to intercept context loading in order to load the context in a different manner -- for example, to make use of ahead of time (AOT) techniques for implementing a different type of ApplicationContext at build time.

Deliverables

  • Allow default CacheAwareContextLoaderDelegate configuration via a system property.
@sbrannen sbrannen added in: test Issues in the test module type: enhancement A general enhancement labels Oct 10, 2021
@sbrannen sbrannen added this to the 5.3.11 milestone Oct 10, 2021
@sbrannen sbrannen self-assigned this Oct 10, 2021
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Oct 10, 2021
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Oct 10, 2021
@sbrannen sbrannen changed the title Introduce interceptor for context loading in the TestContext framework Allow default CacheAwareContextLoaderDelegate configuration via a system property Oct 11, 2021
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Sep 13, 2022
The ability to set a system property to change the default
CacheAwareContextLoaderDelegate was only needed by the Spring Native
project in the Spring Framework 5.3.x line and should not be used by
other projects.

This commit therefore reverts the changes made in conjunction with
spring-projectsgh-27540.

Closes spring-projectsgh-29061
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant