Fix reference docs section on inner beans

Inner beans are not prototype beans as, in contrast to what is
documented in the section for prototype beans, the inner bean does
get destruction callbacks applied.

Issue: SPR-10311
master
Phillip Webb 12 years ago
parent 21a49ef4c5
commit 0f2e94f0fc
  1. 3
      src/reference/docbook/beans-dependencies.xml

@ -727,8 +727,7 @@ public class ExampleBean {
container ignores these values. It also ignores the container ignores these values. It also ignores the
<literal>scope</literal> flag. Inner beans are <literal>scope</literal> flag. Inner beans are
<emphasis>always</emphasis> anonymous and they are <emphasis>always</emphasis> anonymous and they are
<emphasis>always</emphasis> scoped as <link <emphasis>always</emphasis> created with the outer bean. It is
linkend="beans-factory-scopes-prototype">prototypes</link>. It is
<emphasis>not</emphasis> possible to inject inner beans into <emphasis>not</emphasis> possible to inject inner beans into
collaborating beans other than into the enclosing bean.</para> collaborating beans other than into the enclosing bean.</para>
</section> </section>

Loading…
Cancel
Save