From c50886ce03c8f1c7c565c2a9b09b6440af6a4adf Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 29 Dec 2014 11:02:55 +0100 Subject: [PATCH] Fix scope inheritance documentation Issue: SPR-12570 --- src/reference/docbook/beans.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/reference/docbook/beans.xml b/src/reference/docbook/beans.xml index 73764d81cf..c164c1440b 100644 --- a/src/reference/docbook/beans.xml +++ b/src/reference/docbook/beans.xml @@ -885,17 +885,16 @@ List userList = service.getUsernameList(); child bean class must be compatible with the parent, that is, it must accept the parent's property values. - A child bean definition inherits constructor argument values, property - values, and method overrides from the parent, with the option to add new - values. Any initialization method, destroy method, and/or + A child bean definition inherits scope, constructor argument values, + property values, and method overrides from the parent, with the option to + add new values. Any scope, initialization method, destroy method, and/or static factory method settings that you specify will override the corresponding parent settings. The remaining settings are always taken from the child definition: depends on, autowire mode, dependency check, - singleton, scope, lazy - init. + singleton, lazy init. The preceding example explicitly marks the parent bean definition as abstract by using the abstract attribute. If the parent