From 924c869b8adeaf8fe3da047d0bbf0137ffa9ddce Mon Sep 17 00:00:00 2001 From: Stevo Slavic Date: Wed, 29 Feb 2012 23:27:49 +0100 Subject: [PATCH] Remove note on singleton-scoped proxy raising BCE Before this change bean scopes chapter in Spring reference documentation had a note which mentioned that creating a scoped proxy for singleton- or prototype-scoped beans will throw BeanCreationException. This is no longer the case and this change removes the mentioned note. Issue: SPR-7940 --- src/reference/docbook/beans-scopes.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/reference/docbook/beans-scopes.xml b/src/reference/docbook/beans-scopes.xml index 2806813e30..d909307d38 100644 --- a/src/reference/docbook/beans-scopes.xml +++ b/src/reference/docbook/beans-scopes.xml @@ -385,9 +385,7 @@ You do not need to use the <aop:scoped-proxy/> in conjunction with beans that are scoped as singletons or - prototypes. If you try to create a scoped proxy for - a singleton bean, the - BeanCreationException is raised. + prototypes. The configuration in the following example is only one line, but it