[webbeans-issues] [JBoss JIRA] Resolved: (WBRI-146) Deployer creates beans for class and producers

David Allen (JIRA) jira-events at lists.jboss.org
Mon Feb 23 11:50:44 EST 2009


     [ https://jira.jboss.org/jira/browse/WBRI-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

        



More information about the weld-issues mailing list