[
https://issues.jboss.org/browse/CDI-211?page=com.atlassian.jira.plugin.sy...
]
Jozef Hartinger reopened CDI-211:
---------------------------------
Sorry to come late with this but I just realized that it would be nice if the Javadoc
stated explicitly that the declaringBean parameter may be null if the annotated member is
static
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.EDR
Reporter: Jozef Hartinger
Assignee: Pete Muir
Fix For: 1.1.PRD
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