[
https://jira.jboss.org/browse/JBIDE-6935?page=com.atlassian.jira.plugin.s...
]
Jan Groth commented on JBIDE-6935:
----------------------------------
My case is different from the one you are describing. Sorry for not having provided more
information right from the start.
Stereotype and interceptor binding:
@ViewScoped
@Named
@InterceptorBinding // <---- (1)
@Stereotype
@Retention(RUNTIME)
@Target({ TYPE })
public @interface Action {
}
Interceptor and stereotype:
@Action
@Interceptor // <---- (2)
public class ActionInterceptor implements Serializable {
@AroundInvoke
public Object around(final InvocationContext ctx) throws Exception {
// ...
return ctx.proceed();
}
}
Code is working, and the validation message still appears in M2 nightly at position (2),
not recognizing the @InterceptorBinding at (1)
Incorrect validation message for @Interceptor - binding not
recognized
----------------------------------------------------------------------
Key: JBIDE-6935
URL:
https://jira.jboss.org/browse/JBIDE-6935
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.M1
Environment: Version: Helios Release, Build id: 20100617-1415, Ubuntu 10.04 / 64
Reporter: Jan Groth
Assignee: Alexey Kazakov
Priority: Minor
Fix For: 3.2.0.M2
If an interceptor binding is declared as part of a stereotype definition
(
http://docs.jboss.org/weld/reference/1.0.1-Final/en-US/html/stereotypes.h...),
it's not recognized by JBoss-Tools, and the following validation message is rendered:
"Interceptor declared using @Interceptor should specify at least one interceptor
binding [JSR-299 ยง9.2]"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira