Skip to content

Commit

Permalink
Deprecate pre 3.1 @MVC support classes
Browse files Browse the repository at this point in the history
Issue: SPR-10005
  • Loading branch information
rstoyanchev committed Nov 20, 2012
1 parent 2a11007 commit 77223d7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
import org.springframework.core.Ordered;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.core.convert.support.DefaultConversionService;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpInputMessage;
Expand Down Expand Up @@ -138,6 +139,9 @@
* @see #setMethodNameResolver
* @see #setWebBindingInitializer
* @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
implements HandlerAdapter, Ordered, BeanFactoryAware {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
* @author Arjen Poutsma
* @author Juergen Hoeller
* @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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@
* @since 2.5
* @see RequestMapping
* @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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
* @author Juergen Hoeller
* @author Arjen Poutsma
* @since 2.5.2
*
* @deprecated in 3.2 together with {@link DefaultAnnotationHandlerMapping},
* {@link AnnotationMethodHandlerAdapter}, and {@link AnnotationMethodHandlerExceptionResolver}.
*/
abstract class ServletAnnotationMappingUtils {

Expand Down
3 changes: 2 additions & 1 deletion src/dist/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ Changes in version 3.2 RC1 (2012-11-04)
* use concurrent cache to improve performance of GenericTypeResolver (SPR-8701)
* cache and late resolve annotations on bean properties to improve performance (SPR-9166)
* 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)
--------------------------------------
Expand Down

0 comments on commit 77223d7

Please sign in to comment.