提交 77223d7c 编写于 作者: R Rossen Stoyanchev

Deprecate pre 3.1 @mvc support classes

Issue: SPR-10005
上级 2a11007a
...@@ -56,6 +56,7 @@ import org.springframework.core.LocalVariableTableParameterNameDiscoverer; ...@@ -56,6 +56,7 @@ import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
import org.springframework.core.Ordered; import org.springframework.core.Ordered;
import org.springframework.core.ParameterNameDiscoverer; import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.core.annotation.AnnotationUtils; import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.core.convert.support.DefaultConversionService;
import org.springframework.http.HttpEntity; import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders; import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpInputMessage; import org.springframework.http.HttpInputMessage;
...@@ -138,6 +139,9 @@ import org.springframework.web.util.WebUtils; ...@@ -138,6 +139,9 @@ import org.springframework.web.util.WebUtils;
* @see #setMethodNameResolver * @see #setMethodNameResolver
* @see #setWebBindingInitializer * @see #setWebBindingInitializer
* @see #setSessionAttributeStore * @see #setSessionAttributeStore
*
* @deprecated in Spring 3.2 in favor of
* {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter RequestMappingHandlerAdapter}
*/ */
public class AnnotationMethodHandlerAdapter extends WebContentGenerator public class AnnotationMethodHandlerAdapter extends WebContentGenerator
implements HandlerAdapter, Ordered, BeanFactoryAware { implements HandlerAdapter, Ordered, BeanFactoryAware {
......
...@@ -81,6 +81,9 @@ import org.springframework.web.servlet.support.RequestContextUtils; ...@@ -81,6 +81,9 @@ import org.springframework.web.servlet.support.RequestContextUtils;
* @author Arjen Poutsma * @author Arjen Poutsma
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 3.0 * @since 3.0
*
* @deprecated in Spring 3.2 in favor of
* {@link org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver ExceptionHandlerExceptionResolver}
*/ */
public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExceptionResolver { public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExceptionResolver {
......
...@@ -79,6 +79,9 @@ import org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMappin ...@@ -79,6 +79,9 @@ import org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMappin
* @since 2.5 * @since 2.5
* @see RequestMapping * @see RequestMapping
* @see AnnotationMethodHandlerAdapter * @see AnnotationMethodHandlerAdapter
*
* @deprecated in Spring 3.2 in favor of
* {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping RequestMappingHandlerMapping}
*/ */
public class DefaultAnnotationHandlerMapping extends AbstractDetectingUrlHandlerMapping { public class DefaultAnnotationHandlerMapping extends AbstractDetectingUrlHandlerMapping {
......
...@@ -31,6 +31,9 @@ import org.springframework.web.util.WebUtils; ...@@ -31,6 +31,9 @@ import org.springframework.web.util.WebUtils;
* @author Juergen Hoeller * @author Juergen Hoeller
* @author Arjen Poutsma * @author Arjen Poutsma
* @since 2.5.2 * @since 2.5.2
*
* @deprecated in 3.2 together with {@link DefaultAnnotationHandlerMapping},
* {@link AnnotationMethodHandlerAdapter}, and {@link AnnotationMethodHandlerExceptionResolver}.
*/ */
abstract class ServletAnnotationMappingUtils { abstract class ServletAnnotationMappingUtils {
......
...@@ -74,7 +74,8 @@ Changes in version 3.2 RC1 (2012-11-04) ...@@ -74,7 +74,8 @@ Changes in version 3.2 RC1 (2012-11-04)
* use concurrent cache to improve performance of GenericTypeResolver (SPR-8701) * use concurrent cache to improve performance of GenericTypeResolver (SPR-8701)
* cache and late resolve annotations on bean properties to improve performance (SPR-9166) * cache and late resolve annotations on bean properties to improve performance (SPR-9166)
* allow PropertyResolver implementations to ignore unresolvable ${placeholders} (SPR-9569) * allow PropertyResolver implementations to ignore unresolvable ${placeholders} (SPR-9569)
* add integration with Tiles 3 * add integration with Tiles 3 (SPR-8825)
* deprecated DefaultAnnotationHandlerMapping, AnnotationMethodHandlerAdapter, and AnnotationMethodHandlerExceptionResolver (SPR-10005)
Changes in version 3.2 M2 (2012-09-11) Changes in version 3.2 M2 (2012-09-11)
-------------------------------------- --------------------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册