updated remaing 2.5.x JavaDoc reeferences to 3.0.x ones (SPR-6402)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2481 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Thomas Risberg 2009-11-20 21:24:30 +00:00
parent ced673e404
commit 7d99d62dbf
5 changed files with 21 additions and 30 deletions

View File

@ -756,7 +756,7 @@ public class ExampleJob extends QuartzJobBean {
More properties are available for the <classname>SchedulerFactoryBean</classname> for you More properties are available for the <classname>SchedulerFactoryBean</classname> for you
to set, such as the calendars used by the job details, properties to customize Quartz with, to set, such as the calendars used by the job details, properties to customize Quartz with,
etc. Have a look at the etc. Have a look at the
<ulink url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/scheduling/quartz/SchedulerFactoryBean.html">SchedulerFactoryBean Javadoc</ulink> <ulink url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/scheduling/quartz/SchedulerFactoryBean.html">SchedulerFactoryBean Javadoc</ulink>
for more information. for more information.
</para> </para>
</section> </section>

View File

@ -175,9 +175,9 @@ public class Person {
messages and suchlike.</para> messages and suchlike.</para>
<para>More information on the <interfacename>MessageCodesResolver</interfacename> and the default <para>More information on the <interfacename>MessageCodesResolver</interfacename> and the default
strategy can be found online with the Javadocs for strategy can be found online with the Javadocs for
<ulink url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/validation/MessageCodesResolver.html">MessageCodesResolver</ulink> <ulink url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/validation/MessageCodesResolver.html">MessageCodesResolver</ulink>
and and
<ulink url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/validation/DefaultMessageCodesResolver.html">DefaultMessageCodesResolver</ulink> <ulink url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/validation/DefaultMessageCodesResolver.html">DefaultMessageCodesResolver</ulink>
respectively.</para> respectively.</para>
</section> </section>

View File

@ -1119,7 +1119,7 @@ findOwnersForm.url=/WEB-INF/jsp/findOwners.jsp
&lt;/bean&gt;</programlisting> &lt;/bean&gt;</programlisting>
<para>Refer to the <ulink <para>Refer to the <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/ui/velocity/VelocityEngineFactory.html">API url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/ui/velocity/VelocityEngineFactory.html">API
documentation</ulink> for Spring configuration of Velocity, or the documentation</ulink> for Spring configuration of Velocity, or the
Velocity documentation for examples and definitions of the Velocity documentation for examples and definitions of the
<filename>'velocity.properties'</filename> file itself.</para> <filename>'velocity.properties'</filename> file itself.</para>

View File

@ -83,7 +83,7 @@
contains all of the 'business beans' in one's application.</para> contains all of the 'business beans' in one's application.</para>
<para>On to specifics: all that one need do is to declare a <ulink <para>On to specifics: all that one need do is to declare a <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/context/ContextLoaderListener.html"><classname>ContextLoaderListener</classname></ulink> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/context/ContextLoaderListener.html"><classname>ContextLoaderListener</classname></ulink>
in the standard Java EE servlet <literal>web.xml</literal> file of one's web in the standard Java EE servlet <literal>web.xml</literal> file of one's web
application, and add a <literal>contextConfigLocation</literal> application, and add a <literal>contextConfigLocation</literal>
&lt;context-param/&gt; section (in the same file) that defines which set &lt;context-param/&gt; section (in the same file) that defines which set
@ -95,15 +95,6 @@
&lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt; &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
&lt;/listener&gt;</programlisting> &lt;/listener&gt;</programlisting>
<note>
<para>Listeners were added to the Servlet API in version 2.3; listener
startup order was finally clarified in Servlet 2.4. If you have a
Servlet 2.3 container, you can use the <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/context/ContextLoaderServlet.html"><classname>ContextLoaderServlet</classname></ulink>
to achieve the same functionality in a 100% portable fashion (with
respect to startup order).</para>
</note>
<para>Find below the &lt;context-param/&gt; configuration:</para> <para>Find below the &lt;context-param/&gt; configuration:</para>
<programlisting language="xml">&lt;context-param&gt; <programlisting language="xml">&lt;context-param&gt;
@ -115,7 +106,7 @@
context parameter, the <classname>ContextLoaderListener</classname> will context parameter, the <classname>ContextLoaderListener</classname> will
look for a file called <literal>/WEB-INF/applicationContext.xml</literal> look for a file called <literal>/WEB-INF/applicationContext.xml</literal>
to load. Once the context files are loaded, Spring creates a <ulink to load. Once the context files are loaded, Spring creates a <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/context/WebApplicationContext.html"><classname>WebApplicationContext</classname></ulink> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/context/WebApplicationContext.html"><classname>WebApplicationContext</classname></ulink>
object based on the bean definitions and stores it in the object based on the bean definitions and stores it in the
<interface>ServletContext</interface> of the web application.</para> <interface>ServletContext</interface> of the web application.</para>
@ -127,7 +118,7 @@
<programlisting language="java">WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(servletContext);</programlisting> <programlisting language="java">WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(servletContext);</programlisting>
<para>The <ulink <para>The <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/context/support/WebApplicationContextUtils.html"><classname>WebApplicationContextUtils</classname></ulink> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/context/support/WebApplicationContextUtils.html"><classname>WebApplicationContextUtils</classname></ulink>
class is for convenience, so you don't have to remember the name of the class is for convenience, so you don't have to remember the name of the
<interface>ServletContext</interface> attribute. Its <interface>ServletContext</interface> attribute. Its
<emphasis>getWebApplicationContext()</emphasis> method will return <emphasis>getWebApplicationContext()</emphasis> method will return
@ -185,7 +176,7 @@
<para>The easiest way to integrate one's Spring middle-tier with one's <para>The easiest way to integrate one's Spring middle-tier with one's
JSF web layer is to use the <ulink JSF web layer is to use the <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/jsf/DelegatingVariableResolver.html"> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/jsf/DelegatingVariableResolver.html">
<classname>DelegatingVariableResolver</classname></ulink> class. To <classname>DelegatingVariableResolver</classname></ulink> class. To
configure this variable resolver in one's application, one will need to configure this variable resolver in one's application, one will need to
edit one's <emphasis>faces-context.xml</emphasis> file. After the edit one's <emphasis>faces-context.xml</emphasis> file. After the
@ -283,7 +274,7 @@
well when mapping one's properties to beans in well when mapping one's properties to beans in
<emphasis>faces-config.xml</emphasis>, but at times one may need to grab <emphasis>faces-config.xml</emphasis>, but at times one may need to grab
a bean explicitly. The <ulink a bean explicitly. The <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/jsf/FacesContextUtils.html"> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/jsf/FacesContextUtils.html">
<classname>FacesContextUtils</classname></ulink> class makes this easy. <classname>FacesContextUtils</classname></ulink> class makes this easy.
It is similar to <classname>WebApplicationContextUtils</classname>, It is similar to <classname>WebApplicationContextUtils</classname>,
except that it takes a <classname>FacesContext</classname> parameter except that it takes a <classname>FacesContext</classname> parameter
@ -341,7 +332,7 @@
<title>ContextLoaderPlugin</title> <title>ContextLoaderPlugin</title>
<para>The <ulink <para>The <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/ContextLoaderPlugIn.html"><classname>ContextLoaderPlugin</classname></ulink> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/ContextLoaderPlugIn.html"><classname>ContextLoaderPlugin</classname></ulink>
is a Struts 1.1+ plug-in that loads a Spring context file for the Struts is a Struts 1.1+ plug-in that loads a Spring context file for the Struts
<classname>ActionServlet</classname>. This context refers to the root <classname>ActionServlet</classname>. This context refers to the root
<classname>WebApplicationContext</classname> (loaded by the <classname>WebApplicationContext</classname> (loaded by the
@ -412,7 +403,7 @@
<title>DelegatingRequestProcessor</title> <title>DelegatingRequestProcessor</title>
<para>To configure the <ulink <para>To configure the <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/DelegatingRequestProcessor.html"> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/DelegatingRequestProcessor.html">
<literal>DelegatingRequestProcessor</literal></ulink> in your <literal>DelegatingRequestProcessor</literal></ulink> in your
<emphasis>struts-config.xml</emphasis> file, override the <emphasis>struts-config.xml</emphasis> file, override the
"processorClass" property in the &lt;controller&gt; element. These "processorClass" property in the &lt;controller&gt; element. These
@ -440,7 +431,7 @@
<note> <note>
<para>If you are using Tiles in your Struts application, you must <para>If you are using Tiles in your Struts application, you must
configure your &lt;controller&gt; with the <ulink configure your &lt;controller&gt; with the <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/DelegatingTilesRequestProcessor.html"><classname>DelegatingTilesRequestProcessor</classname></ulink> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/DelegatingTilesRequestProcessor.html"><classname>DelegatingTilesRequestProcessor</classname></ulink>
instead.</para> instead.</para>
</note> </note>
</section> </section>
@ -452,7 +443,7 @@
can't use the <classname>DelegatingRequestProcessor</classname> or can't use the <classname>DelegatingRequestProcessor</classname> or
<classname>DelegatingTilesRequestProcessor</classname> approaches, you <classname>DelegatingTilesRequestProcessor</classname> approaches, you
can use the <ulink can use the <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/DelegatingActionProxy.html"> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/DelegatingActionProxy.html">
<classname>DelegatingActionProxy</classname></ulink> as the type in <classname>DelegatingActionProxy</classname></ulink> as the type in
your action-mapping.</para> your action-mapping.</para>
@ -490,7 +481,7 @@
is to extend Spring's <classname>Action</classname> classes for Struts. is to extend Spring's <classname>Action</classname> classes for Struts.
For example, instead of subclassing Struts' For example, instead of subclassing Struts'
<classname>Action</classname> class, you can subclass Spring's <ulink <classname>Action</classname> class, you can subclass Spring's <ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/ActionSupport.html"> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/ActionSupport.html">
<classname>ActionSupport</classname></ulink> class.</para> <classname>ActionSupport</classname></ulink> class.</para>
<para>The <classname>ActionSupport</classname> class provides additional <para>The <classname>ActionSupport</classname> class provides additional
@ -519,23 +510,23 @@
to the name: <itemizedlist spacing="compact"> to the name: <itemizedlist spacing="compact">
<listitem> <listitem>
<para><ulink <para><ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/ActionSupport.html"><classname>ActionSupport</classname></ulink>,</para> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/ActionSupport.html"><classname>ActionSupport</classname></ulink>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><ulink <para><ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/DispatchActionSupport.html"><literal>DispatchActionSupport</literal></ulink>,</para> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/DispatchActionSupport.html"><literal>DispatchActionSupport</literal></ulink>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><ulink <para><ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/LookupDispatchActionSupport.html"><literal>LookupDispatchActionSupport</literal></ulink> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/LookupDispatchActionSupport.html"><literal>LookupDispatchActionSupport</literal></ulink>
and</para> and</para>
</listitem> </listitem>
<listitem> <listitem>
<para><ulink <para><ulink
url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/struts/MappingDispatchActionSupport.html"><literal>MappingDispatchActionSupport</literal></ulink>.</para> url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/struts/MappingDispatchActionSupport.html"><literal>MappingDispatchActionSupport</literal></ulink>.</para>
</listitem> </listitem>
</itemizedlist></para> </itemizedlist></para>

View File

@ -140,7 +140,7 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<section id="xsd-config-body-schemas-util-frfb"> <section id="xsd-config-body-schemas-util-frfb">
<title>Setting a bean property or constructor arg from a field value</title> <title>Setting a bean property or constructor arg from a field value</title>
<para> <para>
<ulink url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.html"><classname>FieldRetrievingFactoryBean</classname></ulink> <ulink url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.html"><classname>FieldRetrievingFactoryBean</classname></ulink>
is a <interfacename>FactoryBean</interfacename> which retrieves a is a <interfacename>FactoryBean</interfacename> which retrieves a
<literal>static</literal> or non-static field value. It is typically <literal>static</literal> or non-static field value. It is typically
used for retrieving <literal>public</literal> <literal>static</literal> used for retrieving <literal>public</literal> <literal>static</literal>
@ -149,7 +149,7 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
</para> </para>
<para> <para>
Find below an example which shows how a <literal>static</literal> field is exposed, by Find below an example which shows how a <literal>static</literal> field is exposed, by
using the <ulink url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.html#setStaticField(java.lang.String)"><literal>staticField</literal></ulink> using the <ulink url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.html#setStaticField(java.lang.String)"><literal>staticField</literal></ulink>
property: property:
</para> </para>
<programlisting language="xml"><![CDATA[<bean id="myField" <programlisting language="xml"><![CDATA[<bean id="myField"
@ -176,7 +176,7 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<para> <para>
It is also possible to access a non-static (instance) field of another bean, It is also possible to access a non-static (instance) field of another bean,
as described in the API documentation for the as described in the API documentation for the
<ulink url="http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.html"><classname>FieldRetrievingFactoryBean</classname></ulink> <ulink url="http://static.springframework.org/spring/docs/3.0.x/javadoc-api/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.html"><classname>FieldRetrievingFactoryBean</classname></ulink>
class. class.
</para> </para>
<para> <para>