[
https://jira.jboss.org/jira/browse/WBRI-146?page=com.atlassian.jira.plugi...
]
David Allen resolved WBRI-146.
------------------------------
Resolution: Rejected
This is not a bug. The producer methods or fields must always have higher precedence or
must not be in the classpath of the application.
Deployer creates beans for class and producers
----------------------------------------------
Key: WBRI-146
URL:
https://jira.jboss.org/jira/browse/WBRI-146
Project: Web Beans RI
Issue Type: Bug
Affects Versions: 1.0.0.ALPHA2
Reporter: David Allen
Fix For: 1.0.0.BETA1
If a simple web bean has a producer field or producer method, the current RI deployer
will deploy both the simple web bean and its producer leading to an eventual ambiguous
dependency. The producer field or method should always take precedence over the simple
bean when resolving a bean for injection.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira