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
master
Stevo Slavic 13 years ago committed by Chris Beams
parent 833e74168a
commit 924c869b8a
  1. 4
      src/reference/docbook/beans-scopes.xml

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

Loading…
Cancel
Save