[cdi-dev] [JBoss JIRA] (CDI-442) Emphasize that decorators are not applied to the values of producers

Matus Abaffy (JIRA) issues at jboss.org
Thu Jun 12 07:09:37 EDT 2014


Matus Abaffy created CDI-442:
--------------------------------

             Summary: Emphasize that decorators are not applied to the values of producers
                 Key: CDI-442
                 URL: https://issues.jboss.org/browse/CDI-442
             Project: CDI Specification Issues
          Issue Type: Feature Request
          Components: Decorators
    Affects Versions: 1.2.Final
            Reporter: Matus Abaffy


In Chapter _8. Decorators, it is mentioned that_
??Decorators are not applied to the return value of a producer method or the current value of a producer field.?? \(1)

However, in _8.1.2. Decorator delegate injection points_, it is stated that
??The decorator applies to beans that are assignable to the delegate injection point.?? \(2)

I think that unless \(1) is moved somewhere after \(2), \(2) should be appended by "except for ..." to make it clear that the values of producers are not decorated.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the cdi-dev mailing list