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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Mar 29 11:34:42 EDT 2013

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

Pete Muir resolved CDI-356.

    Resolution: Done

Thanks. The sentence is removed, as you can now bind lifecycle interceptors to both constructors and lifecycle callback methods.
> 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