[
https://issues.jboss.org/browse/CDI-356?page=com.atlassian.jira.plugin.sy...
]
Pete Muir resolved CDI-356.
---------------------------
Resolution: Done
This was fixed in the latest draft of the interceptors spec.
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