[cdi-dev] [JBoss JIRA] (CDI-52) Make it clearer that an InjectionPoint injected into a disposer method refers to the producer method bean and not to the declaring bean
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Mon Mar 18 05:36:42 EDT 2013
[ https://issues.jboss.org/browse/CDI-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761525#comment-12761525 ]
Jozef Hartinger commented on CDI-52:
------------------------------------
Also, the spec says:
{quote}
the injection point is a disposer method parameter then no +Bean+ instance can be injected, as a disposer method may resolve to more than one producer method.
{quote}
which is not quite in line with the rest of the spec. The spec should again either say that an injected parameter of type Bean<?> on a disposer method is either:
* a definition problem
* non-portable
> Make it clearer that an InjectionPoint injected into a disposer method refers to the producer method bean and not to the declaring bean
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CDI-52
> URL: https://issues.jboss.org/browse/CDI-52
> Project: CDI Specification Issues
> Issue Type: Clarification
> Components: Beans
> Affects Versions: 1.0
> Reporter: Pete Muir
> Assignee: Pete Muir
> Priority: Blocker
> Fix For: 1.1.FD
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list