From: Juergen H. <jho...@us...> - 2008-10-15 13:12:18
|
Update of /cvsroot/springframework/spring/docs/reference/src In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14243/docs/reference/src Modified Files: beans.xml Log Message: fixed depends-on note Index: beans.xml =================================================================== RCS file: /cvsroot/springframework/spring/docs/reference/src/beans.xml,v retrieving revision 1.241 retrieving revision 1.242 diff -C2 -d -r1.241 -r1.242 *** beans.xml 14 Oct 2008 15:17:18 -0000 1.241 --- beans.xml 15 Oct 2008 13:12:08 -0000 1.242 *************** *** 1952,1963 **** <note> ! <para>The '<literal>depends-on</literal>' attribute and property is ! used not only to specify an initialization time dependency, but also ! to specify the corresponding destroy time dependency (in the case of <link linkend="beans-factory-scopes-singleton">singleton</link> beans ! only). Dependent beans that are defined in the ! '<literal>depends-on</literal>' attribute will be destroyed first ! prior to the relevant bean itself being destroyed. This thus allows ! you to control shutdown order too.</para> </note> </section> --- 1952,1963 ---- <note> ! <para>The '<literal>depends-on</literal>' attribute at the bean definition ! level is used not only to specify an initialization time dependency, but ! also to specify the corresponding destroy time dependency (in the case of <link linkend="beans-factory-scopes-singleton">singleton</link> beans ! only). Dependent beans that define a '<literal>depends-on</literal>' ! relationship with a given bean will be destroyed first - prior to the given ! bean itself being destroyed. As a consequence, '<literal>depends-on</literal>' ! may be used to control shutdown order too.</para> </note> </section> |