[
https://issues.jboss.org/browse/CDI-211?page=com.atlassian.jira.plugin.sy...
]
Pete Muir commented on CDI-211:
-------------------------------
Surely the current contextual instance, as producers always do?
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