Skip to content

Commit b08a6d3

Browse files
committed
Polish "What's new in Spring 3.1" re @enable*
1 parent 5876307 commit b08a6d3

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

spring-framework-reference/src/new-in-3.1.xml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,27 @@
104104
<title>Code equivalents for Spring's XML namespaces</title>
105105

106106
<para>Code-based equivalents to popular Spring XML namespace elements
107-
such as &lt;tx:annotation-driven/&gt; and &lt;mvc:annotation-driven&gt;
108-
have been developed, in the form of
109-
<interfacename>@Enable</interfacename> annotations, for use in
110-
conjunction with Spring's <interfacename>@Configuration</interfacename>
111-
classes.</para>
107+
&lt;context:component-scan/&gt;, &lt;tx:annotation-driven/&gt;
108+
and &lt;mvc:annotation-driven&gt; have been developed, most in the
109+
form of <interfacename>@Enable</interfacename> annotations. These are
110+
designed for use in conjunction with Spring's
111+
<interfacename>@Configuration</interfacename> classes, which were
112+
introduced in Spring 3.0.</para>
112113

113114
<itemizedlist>
114115
<listitem>
115-
<para>See org.springframework.scheduling.annotation.Configuration
116+
<para>See org.springframework.context.annotation.Configuration
116117
Javadoc</para>
117118
</listitem>
118119

119120
<listitem>
120-
<para>See org.springframework.scheduling.annotation.EnableAsync
121+
<para>See org.springframework.context.annotation.ComponentScan
122+
Javadoc</para>
123+
</listitem>
124+
125+
<listitem>
126+
<para>See
127+
org.springframework.context.annotation.EnableLoadTimeWeaving
121128
Javadoc</para>
122129
</listitem>
123130

@@ -127,19 +134,18 @@
127134
</listitem>
128135

129136
<listitem>
130-
<para>See
131-
org.springframework.scheduling.annotation.EnableTransactionManagement
137+
<para>See org.springframework.scheduling.annotation.EnableAsync
132138
Javadoc</para>
133139
</listitem>
134140

135141
<listitem>
136142
<para>See
137-
org.springframework.scheduling.annotation.EnableLoadTimeWeaving
143+
org.springframework.transaction.annotation.EnableTransactionManagement
138144
Javadoc</para>
139145
</listitem>
140146

141147
<listitem>
142-
<para>See org.springframework.scheduling.annotation.EnableWebMvc
148+
<para>See org.springframework.web.servlet.config.annotation.EnableWebMvc
143149
Javadoc</para>
144150
</listitem>
145151
</itemizedlist>

0 commit comments

Comments
 (0)