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

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 19 15:10:42 EDT 2013


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

Pete Muir commented on CDI-356:
-------------------------------

I'll handle this as part of the interceptors spec update that has been issued for this problem.
                
> Constructor-level interceptor bindings not considered
> -----------------------------------------------------
>
>                 Key: CDI-356
>                 URL: https://issues.jboss.org/browse/CDI-356
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          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