[cdi-dev] [JBoss JIRA] (CDI-211) Clarify BeanManager.createProducer()
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Thu Aug 16 07:38:14 EDT 2012
[ https://issues.jboss.org/browse/CDI-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711957#comment-12711957 ]
Jozef Hartinger commented on CDI-211:
-------------------------------------
Current contextual instance of which bean? It's tricky to identify the declaring bean based on a field or a method its bean class may have.
> 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