@@ -4707,13 +4707,13 @@ A child bean definition uses the bean class from the parent definition if none i
4707
4707
specified, but can also override it. In the latter case, the child bean class must be
4708
4708
compatible with the parent, that is, it must accept the parent's property values.
4709
4709
4710
- A child bean definition inherits constructor argument values, property values, and
4711
- method overrides from the parent, with the option to add new values. Any initialization
4710
+ A child bean definition inherits scope, constructor argument values, property values, and
4711
+ method overrides from the parent, with the option to add new values. Any scope, initialization
4712
4712
method, destroy method, and/or `static` factory method settings that you specify will
4713
4713
override the corresponding parent settings.
4714
4714
4715
4715
The remaining settings are __always__ taken from the child definition: __depends on__,
4716
- __autowire mode__, __dependency check__, __singleton__, __scope__, __lazy init__.
4716
+ __autowire mode__, __dependency check__, __singleton__, __lazy init__.
4717
4717
4718
4718
The preceding example explicitly marks the parent bean definition as abstract by using
4719
4719
the `abstract` attribute. If the parent definition does not specify a class, explicitly
0 commit comments