Skip to content

Commit 924c869

Browse files
sslaviccbeams
authored andcommitted
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
1 parent 833e741 commit 924c869

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/reference/docbook/beans-scopes.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,7 @@
385385
<para>You <emphasis>do not</emphasis> need to use the
386386
<literal>&lt;aop:scoped-proxy/&gt;</literal> in conjunction with beans
387387
that are scoped as <literal>singletons</literal> or
388-
<literal>prototypes</literal>. If you try to create a scoped proxy for
389-
a singleton bean, the
390-
<exceptionname>BeanCreationException</exceptionname> is raised.</para>
388+
<literal>prototypes</literal>.</para>
391389
</note>
392390

393391
<para>The configuration in the following example is only one line, but it

0 commit comments

Comments
 (0)