|
||||||||
|
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 |
||||||||
_______________________________________________ weld-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/weld-issues

In your case, there is:
@Interceptors({HighPriorityInterceptor.class, LowPriorityInterceptor.class}) public class InterceptedEjband both interceptors "have" interceptor binding @Intercepted. Annotate the class InterceptedEjb by @Intercepted and its methods are intercepted twice by each of the two interceptors - firstly due to @Interceptors annotation and secondly due to the interceptor binding. It makes sense to me that each interceptor should be called no more than once for any intercepted method. The problem occurs when an interceptor is bound to a class using both the @Interceptors annotation and an interceptor binding: its @Priority annotation is not ignored in the sense that it is called again.