About Question enthuware.oce-ejbd.v6.2.440 :
Posted: Sun Jun 11, 2017 10:09 am
Is this correct : If subclass overrides a method and changes the type of the resource injection, it will affect method of the superclass itself?However, injection of such resources follows the Java language overriding rules for the visibility of fields and methods. A method definition that overrides a method on a superclass defines the resource, if any, to be injected into that method. An overriding method may request injection of a different resource than is requested by the superclass, or it may request no injection even though the superclass method requests injection.