Skip to content

Commit

Permalink
Remove note on singleton-scoped proxy raising BCE
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sslavic authored and cbeams committed Mar 1, 2012
1 parent 833e741 commit 924c869
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/reference/docbook/beans-scopes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 924c869

Please sign in to comment.