Update docs to use of @Bean inside a @Component
This commit is contained in:
parent
cea8f7f69e
commit
c2f4f97fa5
File diff suppressed because it is too large
Load Diff
|
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
||||
|
||||
<chapter id="new-in-3">
|
||||
<title>What's new in Spring 3.0?</title>
|
||||
|
||||
|
|
@ -178,7 +177,8 @@
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Object to XML mapping functionality (OXM) moved from Spring Web Services project</para>
|
||||
<para>Object to XML mapping functionality (OXM) moved from Spring Web
|
||||
Services project</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
|
@ -348,32 +348,33 @@ public class AppConfig{
|
|||
</section>
|
||||
|
||||
<section>
|
||||
<title>Factory Bean definitions using annotations</title>
|
||||
<title>Defining bean metadata within components</title>
|
||||
|
||||
<para>FactoryBeans can be defined within a Spring component definition
|
||||
and registered using standard component-scanning techniques. See <link
|
||||
linkend="beans-factorybeans-annotations">Factory Bean Definitions
|
||||
using annotations</link> for more information</para>
|
||||
<para><literal>@Bean</literal> annotated methods are also supported
|
||||
inside Spring components. They contribute a factory bean definition to
|
||||
the container. See <link
|
||||
linkend="beans-factorybeans-annotations">Defining bean metadata within
|
||||
components</link> for more information</para>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section id="new-feature-oxm">
|
||||
<title>The Data Tier</title>
|
||||
|
||||
<para>Object to XML mapping functionality (OXM) from the Spring Web Services project have
|
||||
been moved to the core Spring Framework now. The functionality is found in the
|
||||
<literal>org.springframework.oxm</literal> package. More information on
|
||||
the use of the <literal>OXM</literal> can be found
|
||||
in the <link linkend="oxm">Marshalling XML using O/X Mappers</link> chapter.</para>
|
||||
|
||||
<para>Object to XML mapping functionality (OXM) from the Spring Web
|
||||
Services project have been moved to the core Spring Framework now. The
|
||||
functionality is found in the <literal>org.springframework.oxm</literal>
|
||||
package. More information on the use of the <literal>OXM</literal> can
|
||||
be found in the <link linkend="oxm">Marshalling XML using O/X
|
||||
Mappers</link> chapter.</para>
|
||||
</section>
|
||||
|
||||
<section id="new-feature-rest">
|
||||
<title>The Web Tier</title>
|
||||
|
||||
<para>The most exciting new feature for the Web Tier is the support for building
|
||||
RESTful web services and web applications. There are also some new annotations that
|
||||
can be used in any web application.</para>
|
||||
<para>The most exciting new feature for the Web Tier is the support for
|
||||
building RESTful web services and web applications. There are also some
|
||||
new annotations that can be used in any web application.</para>
|
||||
|
||||
<section>
|
||||
<title>Comprehensive REST support</title>
|
||||
|
|
@ -390,11 +391,11 @@ public class AppConfig{
|
|||
and replies.</para>
|
||||
|
||||
<para>The <classname>MarhsallingHttpMessageConverter</classname> uses
|
||||
the <emphasis>Object to XML mapping</emphasis> functionality mentioned earlier.</para>
|
||||
the <emphasis>Object to XML mapping</emphasis> functionality mentioned
|
||||
earlier.</para>
|
||||
|
||||
<para>Refer to the section on <link linkend="rest">REST support</link>
|
||||
for more information.</para>
|
||||
|
||||
</section>
|
||||
|
||||
<section>
|
||||
|
|
@ -407,7 +408,6 @@ public class AppConfig{
|
|||
@CookieValue annotation</link> and <link
|
||||
linkend="mvc-ann-requestheader">Mapping request header attributes with
|
||||
the @RequestHeader annotation</link> for more information.</para>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
|
@ -422,8 +422,9 @@ public class AppConfig{
|
|||
<section id="new-feature-jee-6">
|
||||
<title>Early support for Java EE 6</title>
|
||||
|
||||
<para>We provide support for asynchronous method invocations through the use of
|
||||
the new @Async annotation (or EJB 3.1's @Asynchronous annotation).</para>
|
||||
<para>We provide support for asynchronous method invocations through the
|
||||
use of the new @Async annotation (or EJB 3.1's @Asynchronous
|
||||
annotation).</para>
|
||||
|
||||
<para>JSF 2.0, JPA 2.0, etc</para>
|
||||
|
||||
|
|
|
|||
|
|
@ -853,8 +853,10 @@ URI location = template.postForLocation(uri, booking, String.class, "1");
|
|||
<section id="rest-message-conversion">
|
||||
<title>HTTP Message Conversion</title>
|
||||
|
||||
<para>Objects passed to and returned from the methods getForObject(),
|
||||
postForLocation(), and put() and are converted to HTTP requests and from
|
||||
<para>Objects passed to and returned from the methods
|
||||
<methodname>getForObject</methodname>,
|
||||
<methodname>postForLocation</methodname>, and
|
||||
<methodname>put</methodname> are converted to HTTP requests and from
|
||||
HTTP responses by <interfacename>HttpMessageConverters</interfacename>.
|
||||
The <interfacename>HttpMessageConverter</interfacename> interface is
|
||||
show below to give you a better feel for its functionality</para>
|
||||
|
|
|
|||
Loading…
Reference in New Issue