Ali Cheaito commented on Bug WELD-1604

Turns out no, it wasn't. Reading the CDI 1.1 specs, section "9.4. Interceptor enablement and ordering" mentions nothing about global enablement. The only hint to this was actually under Major Changes, and it references the Java Interceptor Specs 1.2. Looking at those specs, under "5.3 Ordering Interceptors using the Priority Annotation", it reads:

"An interceptor bound to a component or a component method using interceptor binding may be enabled
for the entire application by applying the Priority annotation, along with a priority value, on the
interceptor class"

Added @Priority to the interceptor and problem solved. Somehow, I thought such a key enablement requirement would be referenced under 9.4.

Thanks for looking into it.

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