]
Pete Muir updated WBRI-212:
---------------------------
Assignee: Pete Muir
Priority: Minor (was: Major)
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: