Refined RequestMappingHandlerMapping bean definition

Issue: SPR-13832
This commit is contained in:
Juergen Hoeller
2015-12-31 11:44:12 +01:00
parent 9152f20bc1
commit 9bffb9e53f

View File

@@ -2469,7 +2469,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>