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

Introduce createContext() factory method in AbstractGenericWebContextLoader #28983

Closed
sbrannen opened this issue Aug 21, 2022 · 0 comments
Closed
Assignees
Labels
in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

Overview

Introduce createContext() factory method in AbstractGenericWebContextLoader for parity with AbstractGenericContextLoader.

Related Issues

@sbrannen sbrannen added in: test Issues in the test module type: enhancement A general enhancement labels Aug 21, 2022
@sbrannen sbrannen added this to the 5.3.23 milestone Aug 21, 2022
@sbrannen sbrannen self-assigned this Aug 21, 2022
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Aug 21, 2022
…Loader

Prior to this commit it was possible to configure the
DefaultListableBeanFactory used by the GenericWebApplicationContext
created by AbstractWebGenericContextLoader, but it was not possible to
completely replace the bean factory.

This commit introduces a new createContext() factory method in
AbstractWebGenericContextLoader which indirectly allows subclasses to
supply a custom DefaultListableBeanFactory implementation to the
GenericWebApplicationContext.

See spring-projectsgh-25600
Closes spring-projectsgh-28983
izeye added a commit to izeye/spring-framework that referenced this issue Sep 14, 2022
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