updates made during my review of beans.xml:
* eliminated all usage of "the section entitled", because <xref> links already render including "the section called ". This was resulting in sentences like 'see also the section entitled the section called "@Autowired"'. This issue affected nearly all sections of the documentation, so went beyond just beans.xml * fixed table overflow in the "Using filters to customize scanning" section (approx. p.90) * fixed all code overflows in <programlisting/> elements * corrected a couple minor syntax errors with SpEL examples (missing closing braces) * added 'language="..."' element to <programlisting> elements where appropriate to enable syntax highlighting. * normalized all code indention to four-space (some code listings were using one- and two-space) * updated all code listings to use same-line opening braces. * eliminated section regarding backward compatibility with Spring DTDs and singleton=true|false. This seems like cruft to me, and we shouldn't keep historical notes around forever. * Added <note> regarding the new thread scope (SimpleThreadScope) to Section 3.5 Bean Scopes. Also updated the section on registering a custom Scope implementation to use the SimpleThreadScope as an example. * updated the new-in-3.xml section to improve the @Configuration example
This commit is contained in:
@@ -329,8 +329,8 @@
|
||||
|
||||
<entry><para> Loaded as a <classname>URL</classname>, from the
|
||||
filesystem. <footnote>
|
||||
<para>But see also the section entitled <xref
|
||||
linkend="resources-filesystemresource-caveats" />.</para>
|
||||
<para>But see also
|
||||
<xref linkend="resources-filesystemresource-caveats" />.</para>
|
||||
</footnote> </para></entry>
|
||||
</row>
|
||||
|
||||
@@ -394,9 +394,9 @@
|
||||
<interfacename>ResourceLoader</interfacename> as an alternative to
|
||||
implementing the <interfacename>ResourceLoaderAware</interfacename> interface.
|
||||
The "traditional" <literal>constructor</literal> and <literal>byType</literal>
|
||||
autowiring modes (as described in the section entitled
|
||||
<xref linkend="beans-factory-autowire"/>) are now capable of providing a
|
||||
dependency of type <interfacename>ResourceLoader</interfacename> for either a
|
||||
autowiring modes (as described in <xref linkend="beans-factory-autowire"/>)
|
||||
are now capable of providing a dependency of type
|
||||
<interfacename>ResourceLoader</interfacename> for either a
|
||||
constructor argument or setter method parameter respectively. For more flexibility
|
||||
(including the ability to autowire fields and multiple parameter methods), consider
|
||||
using the new annotation-based autowiring features. In that case, the
|
||||
@@ -405,7 +405,7 @@
|
||||
<interfacename>ResourceLoader</interfacename> type as long as the field,
|
||||
constructor, or method in question carries the
|
||||
<interfacename>@Autowired</interfacename> annotation. For more information,
|
||||
see the section entitled <xref linkend="beans-autowired-annotation"/>.</para>
|
||||
see <xref linkend="beans-autowired-annotation"/>.</para>
|
||||
</section>
|
||||
|
||||
<section id="resources-as-dependencies">
|
||||
@@ -739,4 +739,4 @@ ApplicationContext ctx =
|
||||
new FileSystemXmlApplicationContext("file:/conf/context.xml");]]></programlisting>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user