diff --git a/spring-framework-reference/src/new-in-3.xml b/spring-framework-reference/src/new-in-3.xml index 87e5e151aae..0835c6b62d8 100644 --- a/spring-framework-reference/src/new-in-3.xml +++ b/spring-framework-reference/src/new-in-3.xml @@ -163,7 +163,7 @@ Overview of new features This is a list of new features for Spring 3.0. We will cover these - features in more detail in the following sections. + features in more detail later in this section. @@ -190,7 +190,6 @@ Early support for Java EE 6 -
Core APIs updated for Java 5 @@ -198,24 +197,22 @@ BeanFactoryinterface returns typed bean instancesas far as possible - T getBean(Stringname, Class<T> requiredType) - Map<String, T> getBeansOfType(Class<T> type) + T getBean(Stringname, Class<T> requiredType) + Map<String, T> getBeansOfType(Class<T> type) Spring's TaskExecutorinterface extends java.util.concurrent.Executor now - extended AsyncTaskExecutor supports standard Callables with Futures + extended AsyncTaskExecutor supports standard Callables with Futures New Java 5 based converter API and SPI - stateless ConversionService and Converters - - - superseding standard JDK PropertyEditors + stateless ConversionService and Converters + superseding standard JDK PropertyEditors @@ -242,13 +239,25 @@ The following is an example of how the Expression Language can be used to configure some properties of a database setup - - + + +]]> + + This functionality is also available if you prefer to configure your components using + annotations: +
@@ -256,24 +265,78 @@
The Inversion of Control (IoC) container - Core JavaConfig features added + Some core JavaConfig features have been added to the Spring Framework now. This means that the following + annotations are now directly supported: + + + @Configuration + @Bean + @Primary + @Lazy + @Import + @Value + + + + + Here is an example of a Java class providing basic configuration using the new JavaConfig features: + + + To get this to work you need to add the following component scanning entry in your minimal + application context XML file. + + ]]> + + +
The Web Tier - Work in progress + Work in progress ...
Comprehensive REST support - Work in progress + Work in progress ...
@MVC additions - Work in progress + Work in progress ...
@@ -288,4 +351,6 @@ JSF 2.0, JPA 2.0, etc + + \ No newline at end of file