[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 17 08:47:47 EST 2014
[ https://issues.jboss.org/browse/CDI-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12945207#comment-12945207 ]
Martin Kouba commented on CDI-382:
----------------------------------
[~struberg], [~pmuir], [~arnelim] my final suggestion: *"Interceptor bindings declared on a producer method are not used to associate interceptors with the return value of the producer method."*.
The Interceptors spec. says:
bq. Interceptor bindings are intermediate annotations that may be used to associate interceptors with any component that is not itself an interceptor.
So I believe we should only clarify the purpose of the interceptor bindings declared on a producer.
> 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