Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
0e770548
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0e770548
编写于
4月 14, 2009
作者:
T
Thomas Risberg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
added content to new in Spring 3
上级
7f06639b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
52 addition
and
4 deletion
+52
-4
spring-framework-reference/src/new-in-3.xml
spring-framework-reference/src/new-in-3.xml
+51
-2
spring-framework-reference/src/spring-framework-reference.xml
...ng-framework-reference/src/spring-framework-reference.xml
+1
-2
未找到文件。
spring-framework-reference/src/new-in-3.xml
浏览文件 @
0e770548
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
</listitem>
</listitem>
<listitem>
<listitem>
<para>
IoC enhancements
</para>
<para>
IoC enhancements
/Spring JavaConfig
</para>
</listitem>
</listitem>
<listitem>
<listitem>
...
@@ -192,6 +192,38 @@
...
@@ -192,6 +192,38 @@
</itemizedlist>
</itemizedlist>
</section>
</section>
<section
id=
"new-feature-java5"
>
<title>
Core APIs updated for Java 5
</title>
<para>
BeanFactoryinterface returns typed bean
instancesas far as possible
<itemizedlist>
<listitem>
T getBean(Stringname, Class
<
T
>
requiredType)
</listitem>
<listitem>
Map
<
String, T
>
getBeansOfType(Class
<
T
>
type)
</listitem>
</itemizedlist>
</para>
<para>
Spring's TaskExecutorinterface extends
<classname>
java.util.concurrent.Executor
</classname>
now
<itemizedlist>
<listitem>
extended AsyncTaskExecutor supports standard Callables with Futures
</listitem>
</itemizedlist>
</para>
<para>
New Java 5 based converter API and SPI
<itemizedlist>
<listitem>
stateless ConversionService and Converters
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
superseding standard JDK PropertyEditors
</listitem>
</itemizedlist>
</para>
<para>
Typed ApplicationListener
<
E
>
</para>
</section>
<section
id=
"new-feature-el"
>
<section
id=
"new-feature-el"
>
<title>
Spring Expression Language
</title>
<title>
Spring Expression Language
</title>
...
@@ -202,12 +234,29 @@
...
@@ -202,12 +234,29 @@
support across the Spring portfolio. Details of this new functionality can
support across the Spring portfolio. Details of this new functionality can
be found in the chapter
<link
linkend=
"expressions"
>
Spring Expression
be found in the chapter
<link
linkend=
"expressions"
>
Spring Expression
Language (SpEL).
</link></para>
Language (SpEL).
</link></para>
<para>
The Spring Expression Language was created to provide the Spring community with a single well
supported expression language that can used across all the products in the Spring portfolio. Its language
features are driven by the requirements of the projects in the Spring portfolio, including tooling
requirements for code completion support within the eclipse based SpringSource Tool Suite.
</para>
<para>
The following is an example of how the Expression Language can be used to configure some properties
of a database setup
<programlisting
language=
"xml"
>
<![CDATA[
<bean class="mycompany.RewardsTestDatabase">
<property
name=
"databaseName"
value=
"“#{systemProperties.databaseName}”/>
<property name="
keyGenerator"
value=
"“#{strategyBean.databaseKeyGenerator}”/>
</bean>
]]></programlisting>
</para>
</section>
</section>
<section id="
new-feature-java-config"
>
<section id="
new-feature-java-config"
>
<title>
The Inversion of Control (IoC) container
</title>
<title>
The Inversion of Control (IoC) container
</title>
<para>
Core JavaConfigfeatures added
</para>
<para>
Core JavaConfig
features added
</para>
</section>
</section>
<section
id=
"new-feature-rest"
>
<section
id=
"new-feature-rest"
>
...
...
spring-framework-reference/src/spring-framework-reference.xml
浏览文件 @
0e770548
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<!ENTITY oxm SYSTEM "oxm.xml">
<!ENTITY oxm SYSTEM "oxm.xml">
<!ENTITY mvc SYSTEM "mvc.xml">
<!ENTITY mvc SYSTEM "mvc.xml">
<!ENTITY view SYSTEM "view.xml">
<!ENTITY view SYSTEM "view.xml">
<!ENTITY rest
SYSTEM "rest.xml">
<!ENTITY rest SYSTEM "rest.xml">
<!ENTITY web-integration SYSTEM "web-integration.xml">
<!ENTITY web-integration SYSTEM "web-integration.xml">
<!ENTITY portlet SYSTEM "portlet.xml">
<!ENTITY portlet SYSTEM "portlet.xml">
<!ENTITY remoting SYSTEM "remoting.xml">
<!ENTITY remoting SYSTEM "remoting.xml">
...
@@ -304,7 +304,6 @@
...
@@ -304,7 +304,6 @@
&view;
&view;
&rest;
&rest;
&web-integration;
&web-integration;
&rest;
&portlet;
&portlet;
</part>
</part>
<part
id=
"spring-integration"
>
<part
id=
"spring-integration"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录