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:
Chris Beams
2009-08-31 05:36:34 +00:00
parent 7b6029d515
commit 19bccaaa11
17 changed files with 209 additions and 233 deletions

View File

@@ -260,9 +260,8 @@
<para>One of the most common uses of JMS messages in the EJB world is to
drive message-driven beans (MDBs). Spring offers a solution to create
message-driven POJOs (MDPs) in a way that does not tie a user to an EJB
container. (See the section entitled <xref
linkend="jms-asynchronousMessageReception" /> for detailed coverage of
Spring's MDP support.)</para>
container. (See <xref linkend="jms-asynchronousMessageReception" />
for detailed coverage of Spring's MDP support.)</para>
<para>A message listener container is used to receive messages from a
JMS message queue and drive the MessageListener that is injected into
@@ -955,10 +954,9 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<para>The example above is equivalent to creating two distinct listener
container bean definitions and two distinct
<classname>MessageListenerAdapter</classname> bean definitions as
demonstrated in the section entitled <xref
linkend="jms-receiving-async-message-listener-adapter" />. In addition to
the attributes shown above, the <literal>listener</literal> element may
contain several optional ones. The following table describes all available
demonstrated in <xref linkend="jms-receiving-async-message-listener-adapter" />.
In addition to the attributes shown above, the <literal>listener</literal> element
may contain several optional ones. The following table describes all available
attributes:</para>
<table id="jms-namespace-listener-tbl">