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

Add ability to inject fields via reflection when using xml configuration. [SPR-10897] #15525

Closed
spring-projects-issues opened this issue Sep 5, 2013 · 1 comment
Labels
in: core status: bulk-closed

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Sep 5, 2013

Michal Jedynak opened SPR-10897 and commented

I have a class that has an interface as a collaborator with two implementations.
When I want to have two beans of this class (each with different interface) I must create setter in the class for the collaborator (otherwise org.springframework.beans.NotWritablePropertyException is thrown).
It would be nice if the container injected it via reflection.
Link to the project depicting the issue is attached.


Affects: 3.2.4

Reference URL: https://github.com/mjedynak/spring-injection-issue

@spring-projects-issues spring-projects-issues added status: waiting-for-triage type: enhancement in: core and removed type: enhancement labels Jan 11, 2019
@rstoyanchev rstoyanchev added status: bulk-closed and removed status: waiting-for-triage labels Jan 11, 2019
@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jan 12, 2019

Bulk closing outdated, unresolved issues. Please, reopen if still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: bulk-closed
Projects
None yet
Development

No branches or pull requests

2 participants