|
104 | 104 | <title>Code equivalents for Spring's XML namespaces</title>
|
105 | 105 |
|
106 | 106 | <para>Code-based equivalents to popular Spring XML namespace elements
|
107 |
| - such as <tx:annotation-driven/> and <mvc:annotation-driven> |
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 | + <context:component-scan/>, <tx:annotation-driven/> |
| 108 | + and <mvc:annotation-driven> 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> |
112 | 113 |
|
113 | 114 | <itemizedlist>
|
114 | 115 | <listitem>
|
115 |
| - <para>See org.springframework.scheduling.annotation.Configuration |
| 116 | + <para>See org.springframework.context.annotation.Configuration |
116 | 117 | Javadoc</para>
|
117 | 118 | </listitem>
|
118 | 119 |
|
119 | 120 | <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 |
121 | 128 | Javadoc</para>
|
122 | 129 | </listitem>
|
123 | 130 |
|
|
127 | 134 | </listitem>
|
128 | 135 |
|
129 | 136 | <listitem>
|
130 |
| - <para>See |
131 |
| - org.springframework.scheduling.annotation.EnableTransactionManagement |
| 137 | + <para>See org.springframework.scheduling.annotation.EnableAsync |
132 | 138 | Javadoc</para>
|
133 | 139 | </listitem>
|
134 | 140 |
|
135 | 141 | <listitem>
|
136 | 142 | <para>See
|
137 |
| - org.springframework.scheduling.annotation.EnableLoadTimeWeaving |
| 143 | + org.springframework.transaction.annotation.EnableTransactionManagement |
138 | 144 | Javadoc</para>
|
139 | 145 | </listitem>
|
140 | 146 |
|
141 | 147 | <listitem>
|
142 |
| - <para>See org.springframework.scheduling.annotation.EnableWebMvc |
| 148 | + <para>See org.springframework.web.servlet.config.annotation.EnableWebMvc |
143 | 149 | Javadoc</para>
|
144 | 150 | </listitem>
|
145 | 151 | </itemizedlist>
|
|
0 commit comments