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
This commit is contained in:
Stevo Slavic 2012-02-29 23:27:49 +01:00 committed by Chris Beams
parent 833e74168a
commit 924c869b8a
1 changed files with 1 additions and 3 deletions

View File

@ -385,9 +385,7 @@
<para>You <emphasis>do not</emphasis> need to use the
<literal>&lt;aop:scoped-proxy/&gt;</literal> in conjunction with beans
that are scoped as <literal>singletons</literal> or
<literal>prototypes</literal>. If you try to create a scoped proxy for
a singleton bean, the
<exceptionname>BeanCreationException</exceptionname> is raised.</para>
<literal>prototypes</literal>.</para>
</note>
<para>The configuration in the following example is only one line, but it