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:
parent
833e74168a
commit
924c869b8a
|
|
@ -385,9 +385,7 @@
|
|||
<para>You <emphasis>do not</emphasis> need to use the
|
||||
<literal><aop:scoped-proxy/></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
|
||||
|
|
|
|||
Loading…
Reference in New Issue