But {{_instanceObserve}} is private. Private methods are not inherited by a superclass (thinking about the Java programming language here) . In particular so static methods , I'm thinking of ( {{_staticObserve}} ) . Both was called. Section 4.2 never commented on access modifiers, so I couldn't imagine that private and/or static methods was "inherited" by CDI beans. However, you say that it is so and you might be right. Then, why do the CDI specification say that "we can be certain that the second bean [..] observer method [..] will never be called"? If private and static methods are "inherited", then I sure ain't certain anymore =) You feel me??
|