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

Revise ContextLoader / ContextLoaderListener relationship [SPR-5056] #9731

Closed
spring-projects-issues opened this issue Aug 4, 2008 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Marten Deinum opened SPR-5056 and commented

Currently the ContextLoaderListener always creates a new instance of the ContextLoader class, if you want to create some custom ContextLoader you also have to create a custom ContextLoaderListener. It would be a nice feature it the ContextLoader class was also configurable with a init parameter like contextLoaderClass. That would save people from extending our ContextLoaderListener and simply configure it.


Affects: 2.5.5

1 votes, 1 watchers

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Since ContextLoaderServlet is going to go away in Spring 3.0, I don't think we need such an extra web.xml init-param. We can maybe make it even more straightforward to subclass ContextLoaderListener, for example through having the ContextLoaderListener class extend the ContextLoader class.

Juergen

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.0 M1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants