[webbeans-issues] [JBoss JIRA] Closed: (WBRI-212) multi @Named producer method

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Mar 29 20:46:22 EDT 2009


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

Pete Muir closed WBRI-212.
--------------------------

    Resolution: Done


I used the id for the equals method

> multi @Named producer method
> ----------------------------
>
>                 Key: WBRI-212
>                 URL: https://jira.jboss.org/jira/browse/WBRI-212
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Producer beans
>            Reporter: Takeshi Kondo
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.0.0.PREVIEW
>
>         Attachments: name_producer.patch, test_code.patch
>
>
> for instance,
> ---
> public class NamedProducer
> {
>    @Named("itoen")
>    @Produces
>    public String[] createName()
>    {
>       return new String[] { "oh", "otya" };
>    }
>    @Named("iemon")
>    @Produces
>    public String[] createName2()
>    {
>       return new String[] { "fukujyuen", "iemon", "otya" };
>    }
> }
> ----
> One of these producer methods works. but other methods don't work.
> Because ProducerMethodBeans's equals method can't distinguish method name.

-- 
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