Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
M3
-
None
Description
If a subclass doesn't implement a method of an ancestor, and that ancestor has interceptor bindings, WebBeansInterceptorConfig will fail to consider those bindings when it builds the list of valid interceptors.
The main culprit here is only getting declared methods, as opposed to all methods, of the bean class.
Also, the routine that configured component-level interceptors already knows the full set of component-level bindings (already has resolved all the transitive and inheritance stuff) so this should be passed explicitly to the routine that determines the method-level interceptors (instead of trying to derive it again).