[cdi-dev] [JBoss JIRA] (CDI-78) Clarify how isDelegate() behaves on InjectionPoint, and what happens when an InjectionPoint is injected into a Decorator
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Aug 16 10:24:15 EDT 2012
[ https://issues.jboss.org/browse/CDI-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712037#comment-12712037 ]
Pete Muir commented on CDI-78:
------------------------------
I think the sentence added to the spec clarifies both the points. We have, in 5.5.7 that
{quote}
The isDelegate() method returns true if the injection point is a decorator delegate injection point, and false otherwise.
{quote}
which, combined with the added sentence
{quote}
The InjectionPoint injected into a decorator represents the injection point on the bean the decorated type is injected into.
{quote}
means that the InjectionPoint.isDelegate() cannot return false.
> Clarify how isDelegate() behaves on InjectionPoint, and what happens when an InjectionPoint is injected into a Decorator
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: CDI-78
> URL: https://issues.jboss.org/browse/CDI-78
> Project: CDI Specification Issues
> Issue Type: Clarification
> Components: Decorators
> Affects Versions: 1.0
> Reporter: Pete Muir
> Assignee: Pete Muir
> Fix For: 1.1.EDR1
>
>
> The InjectionPoint should be that of the injection into the consumer, and isDelegate() should return false.
--
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