-
Notifications
You must be signed in to change notification settings - Fork 243
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
Replace SpringContext.getBean() with Dependency Injection #1062
Comments
Thank you @konavivekramakrishna for creating this issue. |
@konavivekramakrishna it may make testing a bit easire but it will make the code less readable and more Verbose. |
Then as @rahul6603 said should we consider replacing the usage |
we can replace it in all Spring beans |
can I work on this issue @mozzy11, @konavivekramakrishna |
Sure @Dheerajr444 , go ahead. |
Refactor the code to replace
SpringContext.getBean()
with constructor or setter injection in all Spring-managed beans to improve best practices and maintainability.The text was updated successfully, but these errors were encountered: