Title: Message Title
|
|
|
|
This test is not about Interceptor activation but about wrong meta-data injection in interceptor. Injection of {{Interceptor<Cream>}} in {{InterceptorField}} (instead of {{Interceptor<InterceptorField>}} ) is what is tested. And it does the job by throwinf a definition exception as stated here : http://docs . jboss.org/cdi/spec/1.2/cdi-spec.html#bean_metadata.
The spec is rather clear regarding the fact that Interceptors are bean in implicit terms here : http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#what_classes_are_beans or in more explicit way in this the recent clarification : http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#bean_defining_annotations
It is said nowhere that unused interceptor or decorators should be ignored by the container. Now that can be discussed but doesn't seem very interesting IMO.
Anyway this ticket is off topic and misleading.
|
|
|
|
|
|
|
|
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues