See 4.2 Inheritance of member-level metadata:
- ...
- If X declares a non-static method x() annotated with an interceptor binding type Z then Y inherits the binding if and only if neither Y nor any intermediate class that is a subclass of X and a superclass of Y overrides the method x().
TCK should also test the case where an interceptor binding is not inherited for session beans (similar to InterceptorBindingInheritanceTest.testMethodInterceptorBindingDirectlyNotInherited() and InterceptorBindingInheritanceTest.testMethodInterceptorBindingIndirectlyNotInherited()).
Please revise corresponding assertions as well.
|