[
https://issues.jboss.org/browse/CDI-78?page=com.atlassian.jira.plugin.sys...
]
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