From 42cdfbcd89c3116622fee5d1c57435ae70fcc344 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Wed, 5 May 2010 13:42:46 +0000 Subject: [PATCH] SPR-7163 SPR-7161 + update Petclinic references + minor corrections --- spring-framework-reference/src/aop.xml | 2 +- spring-framework-reference/src/beans.xml | 5 ++--- spring-framework-reference/src/mvc.xml | 8 +++----- spring-framework-reference/src/new-in-3.xml | 17 ++++++++++++++++- spring-framework-reference/src/testing.xml | 4 ++-- 5 files changed, 24 insertions(+), 12 deletions(-) diff --git a/spring-framework-reference/src/aop.xml b/spring-framework-reference/src/aop.xml index 8a41003834c..b748bcefe49 100644 --- a/spring-framework-reference/src/aop.xml +++ b/spring-framework-reference/src/aop.xml @@ -3124,7 +3124,7 @@ public class Account { Now that the sales pitch is over, let us first walk through a quick example of AspectJ LTW using Spring, followed by detailed specifics about elements introduced in the following example. For a - complete example, please see the Petclinic sample application. + complete example, please see the Petclinic sample application.
A first example diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index 51045833775..accc0ec9363 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -1324,7 +1324,7 @@ public class ExampleBean { The value attribute of the <property/> element specifies a property or constructor argument as a human-readable string representation. As mentioned + linkend="beans-beans-conversion">As mentioned previously, JavaBeans PropertyEditors are used to convert these string values from a String to the actual type of the property or @@ -2296,8 +2296,7 @@ support=support@example.co.uk bean B every time one is needed. A solution is to forego some inversion of control. You can make bean A aware of the - container by implementing the + linkend="beans-factory-aware">make bean A aware of the container by implementing the ApplicationContextAware interface, and by making a getBean("B") call to the container ask for (a typically new) bean B instance every time diff --git a/spring-framework-reference/src/mvc.xml b/spring-framework-reference/src/mvc.xml index 588b92cb270..f2e529bfc68 100644 --- a/spring-framework-reference/src/mvc.xml +++ b/spring-framework-reference/src/mvc.xml @@ -589,12 +589,10 @@ configure access to Servlet or Portlet facilities. - The Spring distribution ships with the - PetClinic sample, a web application that leverages + Available in the samples repository, + the PetClinic web application leverages the annotation support described in this section, in the context of - simple form processing. The PetClinic application - resides in the org.springframework.samples.petclinic - module. + simple form processing. diff --git a/spring-framework-reference/src/new-in-3.xml b/spring-framework-reference/src/new-in-3.xml index 6fcddd345b5..c53a2d4383d 100644 --- a/spring-framework-reference/src/new-in-3.xml +++ b/spring-framework-reference/src/new-in-3.xml @@ -62,7 +62,22 @@ There are many excellent articles and tutorials that show how to get started with Spring 3 features. Read them at the Spring Documentation page. - + + + The samples have been improved and updated to take advantage of the new features in Spring 3. + Additionally, the samples have been moved out of the source tree into a dedicated SVN + repository available at: + + + https://anonsvn.springframework.org/svn/spring-samples/ + + + As such, the samples are no longer distributed alongside Spring 3 and need to be downloaded separately from the repository mentioned above. However, this documentation + will continue to refer to some samples (in particular Petclinic) to illustrate various features. + + For more information on Subversion (or in short SVN), see the project homepage at: + http://subversion.apache.org/ +
diff --git a/spring-framework-reference/src/testing.xml b/spring-framework-reference/src/testing.xml index bf64b019e2f..be128d6926d 100644 --- a/spring-framework-reference/src/testing.xml +++ b/spring-framework-reference/src/testing.xml @@ -1757,8 +1757,8 @@ public class SimpleTest {
PetClinic example - The PetClinic sample application included with the full Spring - distribution illustrates several features of the Spring + The PetClinic application, available from the samples repository, + illustrates several features of the Spring TestContext Framework in a JUnit 4.5+ environment. Most test functionality is included in the AbstractClinicTests, for which a partial listing