@@ -4419,13 +4419,13 @@ A child bean definition uses the bean class from the parent definition if none i
4419
4419
specified, but can also override it. In the latter case, the child bean class must be
4420
4420
compatible with the parent, that is, it must accept the parent's property values.
4421
4421
4422
- A child bean definition inherits constructor argument values, property values, and
4423
- method overrides from the parent, with the option to add new values. Any initialization
4422
+ A child bean definition inherits scope, constructor argument values, property values, and
4423
+ method overrides from the parent, with the option to add new values. Any scope, initialization
4424
4424
method, destroy method, and/or `static` factory method settings that you specify will
4425
4425
override the corresponding parent settings.
4426
4426
4427
4427
The remaining settings are __always__ taken from the child definition: __depends on__,
4428
- __autowire mode__, __dependency check__, __singleton__, __scope__, __lazy init__.
4428
+ __autowire mode__, __dependency check__, __singleton__, __lazy init__.
4429
4429
4430
4430
The preceding example explicitly marks the parent bean definition as abstract by using
4431
4431
the `abstract` attribute. If the parent definition does not specify a class, explicitly
0 commit comments