[cdi-dev] [JBoss JIRA] (CDI-382) Clarify interceptors are not associated with the result of a producer method/field
Martin Kouba (JIRA)
issues at jboss.org
Mon Feb 3 08:06:28 EST 2014
[ https://issues.jboss.org/browse/CDI-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12940758#comment-12940758 ]
Martin Kouba commented on CDI-382:
----------------------------------
[~struberg] your suggestion makes sense. Except that producer field may not declare an interceptor binding (see interceptors spec, 3.3 Binding an Interceptor to a Component). Also interceptor binding itself does not intercept anything.
What about this:
bq. Interceptor bindings declared on a producer method are not applied to the return value of such method.
> 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