[cdi-dev] [JBoss JIRA] (CDI-211) Clarify BeanManager.createProducer()
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Aug 16 07:48:14 EDT 2012
[ https://issues.jboss.org/browse/CDI-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711960#comment-12711960 ]
Pete Muir commented on CDI-211:
-------------------------------
Should we require an additional parameter of type {code}Bean<?> declaringBean{code}?
> Clarify BeanManager.createProducer()
> ------------------------------------
>
> Key: CDI-211
> URL: https://issues.jboss.org/browse/CDI-211
> Project: CDI Specification Issues
> Issue Type: Clarification
> Components: Portable Extensions
> Affects Versions: 1.1.EDR1
> Reporter: Jozef Hartinger
> Fix For: 1.1 (Proposed)
>
>
> The specification defines a pair of BeanManager.createProducer() methods:
> {code}
> public Producer<?> createProducer(AnnotatedField<?> field);
> public Producer<?> createProducer(AnnotatedMethod<?> method);
> {code}
> If cases when the field or method is not static, it is unclear which contextual instance the created producer should operate upon.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list