[cdi-dev] [JBoss JIRA] (CDI-382) Clarify interceptors are not associated with the result of a producer method/field

Mark Struberg (JIRA) issues at jboss.org
Mon Feb 3 04:56:28 EST 2014


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

Mark Struberg commented on CDI-382:
-----------------------------------

Please try to not introduce a spec change. 

I suggest a wording like 'Any InterceptorBinding of a producer field or producer method does not apply to the produced contextual instance but intercepts the invocation of the producer method or producer field itself'

It is possible that e.g. a producer method returns a contextual instance which is already wrapped with an interception-proxy. 
                
> Clarify interceptors are not associated with the result of a producer method/field
> ----------------------------------------------------------------------------------
>
>                 Key: CDI-382
>                 URL: https://issues.jboss.org/browse/CDI-382
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Interceptors
>    Affects Versions: 1.1.PFD
>            Reporter: Martin Kouba
>            Assignee: Martin Kouba
>              Labels: CDI_spec_chge, Ready_to_fix
>             Fix For: 1.2 Proposed
>
>
> The interceptors part from CDI-59 resolution [1] is missing in the final version of the spec, probably lost during the Interceptors section transfer to the Interceptors 1.2 spec.
> [1] https://github.com/cdi-spec/cdi/pull/110
> "Interceptors are not associated with the return value of a producer method or the current value of a producer field."

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