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

Takeshi Kondo (JIRA) jira-events at lists.jboss.org
Sun Mar 29 13:36:22 EDT 2009


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


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