Skip to content

Commit 0c7fa9e

Browse files
committed
Fix scope inheritance documentation
Issue: SPR-12570
1 parent dc15070 commit 0c7fa9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/asciidoc/index.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4419,13 +4419,13 @@ A child bean definition uses the bean class from the parent definition if none i
44194419
specified, but can also override it. In the latter case, the child bean class must be
44204420
compatible with the parent, that is, it must accept the parent's property values.
44214421

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
44244424
method, destroy method, and/or `static` factory method settings that you specify will
44254425
override the corresponding parent settings.
44264426

44274427
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__.
44294429

44304430
The preceding example explicitly marks the parent bean definition as abstract by using
44314431
the `abstract` attribute. If the parent definition does not specify a class, explicitly

0 commit comments

Comments
 (0)