![]() |
|
|
|
|
Issue Type:
|
Task
|
|
Affects Versions:
|
2.0.1.Final |
|
Assignee:
|
Jozef Hartinger
|
|
Created:
|
20/Jun/13 4:41 AM
|
|
Description:
|
There are multiple situations when an InjectionTarget is created by an extension for a class that does not match bean class requirements. For example:
- abstract classes (Solder)
- non-static inner classes (cdi-wicket)
- classes with no appropriate constructor
Creating an InjectionTarget for such a class is OK as long as it is only ever used for injecting existing instances, not for producing instances.
We should introduce an InjectionTarget implementation capable of doing this and also log a warning each time it is created. If the application attempts to call produce() on such InjectionTarget, the call should fail with exception.
|
|
Fix Versions:
|
2.0.2.Final |
|
Project:
|
Weld
|
|
Priority:
|
Major
|
|
Reporter:
|
Jozef Hartinger
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues