Refined RequestMappingHandlerMapping bean definition

Issue: SPR-13832
(cherry picked from commit 9bffb9e)
This commit is contained in:
Juergen Hoeller
2015-12-31 11:44:12 +01:00
parent 15da48eba5
commit 24e58c1ac3

View File

@@ -2466,7 +2466,7 @@ The following example shows how to configure an interceptor:
[subs="verbatim,quotes"]
----
<beans>
<bean id="handlerMapping" class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping">
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping">
<property name="interceptors">
<bean class="example.MyInterceptor"/>
</property>