[cdi-dev] [JBoss JIRA] (CDI-59) Clarify interceptors/decorators aren't applied to the *result* of a producer method or producer field

Martin Kouba (JIRA) issues at jboss.org
Mon Feb 3 07:50:28 EST 2014


    [ https://issues.jboss.org/browse/CDI-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12940753#comment-12940753 ] 

Martin Kouba commented on CDI-59:
---------------------------------

For the record: I don't understand fully the notices about decorators. The spec clearly states that:
bq. Invocations of producer, disposer and observer methods by the container are business method invocations and are intercepted by method interceptors and decorators.

                
> Clarify interceptors/decorators aren't applied to the *result* of a producer method or producer field
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CDI-59
>                 URL: https://issues.jboss.org/browse/CDI-59
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Beans, Decorators, Interceptors, Resolution
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.1.PRD
>
>
> Interceptors can be applied to the invocation of a producer method, but not to a bean produced by a producer method. Decorators cannot be applied

--
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