[
https://issues.jboss.org/browse/CDI-78?page=com.atlassian.jira.plugin.sys...
]
Tomas Remes commented on CDI-78:
--------------------------------
[~antoinesabot-durand] This is still unclear to me what should happen when I inject
{{InjectionPoint}} in decorator. Section {{6.5.4. Contextual reference for a bean}}
states:
{quote}
The container must ensure that every injection point of type InjectionPoint and qualifier
@Default
of any dependent object instantiated during this process receives:
• an instance of InjectionPoint representing the injection point into which the dependent
object
will be injected, or
• a null value if it is not being injected into any injection point.
{quote}
Will I get null or instance of {{InjectionPoint}} for the IP injected into decorator?
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
Labels: F2F2016
The InjectionPoint should be that of the injection into the consumer, and isDelegate()
should return false.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)