[cdi-dev] [JBoss JIRA] (CDI-356) Constructor-level interceptor bindings not considered

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Fri Mar 29 09:44:41 EDT 2013


     [ https://issues.jboss.org/browse/CDI-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger reopened CDI-356:
---------------------------------



The quoted sentence is still present in CDI and creates a conflict.
                
> Constructor-level interceptor bindings not considered
> -----------------------------------------------------
>
>                 Key: CDI-356
>                 URL: https://issues.jboss.org/browse/CDI-356
>             Project: CDI Specification Issues
>          Issue Type: Tracker
>          Components: Interceptors
>    Affects Versions: 1.1.PFD
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>            Priority: Blocker
>             Fix For: 1.1.FD
>
>
> For example:
> {quote}
> If an interceptor for lifecycle callbacks declares an interceptor binding type that not defined @Target(TYPE), the container
> automatically detects the problem and treats it as a definition error.
> {quote}
> An interceptor that declares an @AroundConstruct interceptor method is an interceptor for a lifecycle callback yet it makes sense to define the binding as @Target(CONSTRUCTOR).

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