Skip to content

Commit 752bbbd

Browse files
committed
Fix scope inheritance documentation
Issue: SPR-12570
1 parent 73c21fb commit 752bbbd

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
@@ -4707,13 +4707,13 @@ A child bean definition uses the bean class from the parent definition if none i
47074707
specified, but can also override it. In the latter case, the child bean class must be
47084708
compatible with the parent, that is, it must accept the parent's property values.
47094709

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

47154715
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__.
47174717

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

0 commit comments

Comments
 (0)