[
https://issues.jboss.org/browse/WELD-814?page=com.atlassian.jira.plugin.s...
]
John Ament commented on WELD-814:
---------------------------------
Ok, but I'm curious as to why it does allow it from a method producer? Or is it
simply a case where the container knows that this is a resource because the field has the
injection point, but doesn't know about the method? In which case, another bypass
would simply be to define the resource injection point on a setter and leave the producer
on the field?
Resources injected to producer fields fail to be produced
---------------------------------------------------------
Key: WELD-814
URL:
https://issues.jboss.org/browse/WELD-814
Project: Weld
Issue Type: Bug
Affects Versions: 1.1.0.CR3
Reporter: John Ament
Assignee: Pete Muir
When you inject a resource in to a bean (session, managed, cdi, etc), the producer field
that can be bound to it fails to deploy, at least under AS 6.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira