Commit 3814e509 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish @deprecated javadoc and link to replacements where available

Closes gh-6765
parent d7206452
...@@ -54,7 +54,7 @@ public class InfoEndpoint extends AbstractEndpoint<Map<String, Object>> { ...@@ -54,7 +54,7 @@ public class InfoEndpoint extends AbstractEndpoint<Map<String, Object>> {
* Constructor provided for backward compatibility. * Constructor provided for backward compatibility.
* @param info a map (which is added to the info) * @param info a map (which is added to the info)
* @param infoContributors the info contributors to use * @param infoContributors the info contributors to use
* @deprecated as of 1.4 in favor of the constructor without the map * @deprecated as of 1.4 in favor of {@link #InfoEndpoint(List)}
*/ */
@Deprecated @Deprecated
public InfoEndpoint(Map<String, Object> info, InfoContributor... infoContributors) { public InfoEndpoint(Map<String, Object> info, InfoContributor... infoContributors) {
......
...@@ -41,7 +41,7 @@ import org.springframework.context.annotation.Import; ...@@ -41,7 +41,7 @@ import org.springframework.context.annotation.Import;
* @author Phillip Webb * @author Phillip Webb
* @since 1.1.0 * @since 1.1.0
* @see HornetQProperties * @see HornetQProperties
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Configuration @Configuration
@AutoConfigureBefore(JmsAutoConfiguration.class) @AutoConfigureBefore(JmsAutoConfiguration.class)
......
...@@ -27,7 +27,7 @@ import org.hornetq.jms.server.embedded.EmbeddedJMS; ...@@ -27,7 +27,7 @@ import org.hornetq.jms.server.embedded.EmbeddedJMS;
* @author Phillip Webb * @author Phillip Webb
* @since 1.1.0 * @since 1.1.0
* @see HornetQAutoConfiguration * @see HornetQAutoConfiguration
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Deprecated @Deprecated
public interface HornetQConfigurationCustomizer { public interface HornetQConfigurationCustomizer {
......
...@@ -30,7 +30,7 @@ import org.springframework.context.annotation.Configuration; ...@@ -30,7 +30,7 @@ import org.springframework.context.annotation.Configuration;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.2.0 * @since 1.2.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Configuration @Configuration
@ConditionalOnMissingBean(ConnectionFactory.class) @ConditionalOnMissingBean(ConnectionFactory.class)
......
...@@ -40,7 +40,7 @@ import org.springframework.util.ClassUtils; ...@@ -40,7 +40,7 @@ import org.springframework.util.ClassUtils;
* @author Phillip Webb * @author Phillip Webb
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.2.0 * @since 1.2.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Deprecated @Deprecated
class HornetQConnectionFactoryFactory { class HornetQConnectionFactoryFactory {
......
...@@ -34,7 +34,7 @@ import org.springframework.boot.autoconfigure.jms.hornetq.HornetQProperties.Embe ...@@ -34,7 +34,7 @@ import org.springframework.boot.autoconfigure.jms.hornetq.HornetQProperties.Embe
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Phillip Webb * @author Phillip Webb
* @since 1.1.0 * @since 1.1.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Deprecated @Deprecated
class HornetQEmbeddedConfigurationFactory { class HornetQEmbeddedConfigurationFactory {
......
...@@ -41,7 +41,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator; ...@@ -41,7 +41,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator;
* @author Phillip Webb * @author Phillip Webb
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.2.0 * @since 1.2.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Configuration @Configuration
@ConditionalOnClass(name = HornetQConnectionFactoryFactory.EMBEDDED_JMS_CLASS) @ConditionalOnClass(name = HornetQConnectionFactoryFactory.EMBEDDED_JMS_CLASS)
......
...@@ -21,7 +21,7 @@ package org.springframework.boot.autoconfigure.jms.hornetq; ...@@ -21,7 +21,7 @@ package org.springframework.boot.autoconfigure.jms.hornetq;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.1.0 * @since 1.1.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Deprecated @Deprecated
public enum HornetQMode { public enum HornetQMode {
......
...@@ -23,7 +23,7 @@ import org.hornetq.spi.core.naming.BindingRegistry; ...@@ -23,7 +23,7 @@ import org.hornetq.spi.core.naming.BindingRegistry;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.1.0 * @since 1.1.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Deprecated @Deprecated
public class HornetQNoOpBindingRegistry implements BindingRegistry { public class HornetQNoOpBindingRegistry implements BindingRegistry {
......
...@@ -30,7 +30,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; ...@@ -30,7 +30,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.1.0 * @since 1.1.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@ConfigurationProperties(prefix = "spring.hornetq") @ConfigurationProperties(prefix = "spring.hornetq")
@Deprecated @Deprecated
......
...@@ -35,7 +35,7 @@ import org.springframework.context.annotation.Primary; ...@@ -35,7 +35,7 @@ import org.springframework.context.annotation.Primary;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.2.0 * @since 1.2.0
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Configuration @Configuration
@ConditionalOnMissingBean(ConnectionFactory.class) @ConditionalOnMissingBean(ConnectionFactory.class)
......
...@@ -30,7 +30,7 @@ import org.springframework.util.StringUtils; ...@@ -30,7 +30,7 @@ import org.springframework.util.StringUtils;
* *
* @author Stéphane Lagraulet * @author Stéphane Lagraulet
* @author Stephane Nicoll * @author Stephane Nicoll
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Deprecated @Deprecated
class SpringBootHornetQConnectionFactory extends HornetQConnectionFactory { class SpringBootHornetQConnectionFactory extends HornetQConnectionFactory {
......
...@@ -30,7 +30,7 @@ import org.springframework.util.StringUtils; ...@@ -30,7 +30,7 @@ import org.springframework.util.StringUtils;
* *
* @author Stéphane Lagraulet * @author Stéphane Lagraulet
* @author Stephane Nicoll * @author Stephane Nicoll
* @deprecated as of 1.4 in favor of the artemis support * @deprecated as of 1.4 in favor of the Artemis support
*/ */
@Deprecated @Deprecated
class SpringBootHornetQXAConnectionFactory extends HornetQXAConnectionFactory { class SpringBootHornetQXAConnectionFactory extends HornetQXAConnectionFactory {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2016 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -16,5 +16,6 @@ ...@@ -16,5 +16,6 @@
/** /**
* Auto-configuration for HornetQ. * Auto-configuration for HornetQ.
* @deprecated as of 1.4 in favor of the Artemis support
*/ */
package org.springframework.boot.autoconfigure.jms.hornetq; package org.springframework.boot.autoconfigure.jms.hornetq;
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2016 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -16,5 +16,7 @@ ...@@ -16,5 +16,7 @@
/** /**
* Auto-configuration for Velocity. * Auto-configuration for Velocity.
* @deprecated as of 1.4 following the deprecation of Velocity support in Spring Framework
* 4.3
*/ */
package org.springframework.boot.autoconfigure.velocity; package org.springframework.boot.autoconfigure.velocity;
...@@ -28,6 +28,7 @@ import java.util.Set; ...@@ -28,6 +28,7 @@ import java.util.Set;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.test.context.SpringBootContextLoader;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.support.ServletContextApplicationContextInitializer; import org.springframework.boot.web.support.ServletContextApplicationContextInitializer;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
...@@ -71,8 +72,7 @@ import org.springframework.web.context.support.GenericWebApplicationContext; ...@@ -71,8 +72,7 @@ import org.springframework.web.context.support.GenericWebApplicationContext;
* @see org.springframework.boot.test.IntegrationTest * @see org.springframework.boot.test.IntegrationTest
* @see org.springframework.boot.test.WebIntegrationTest * @see org.springframework.boot.test.WebIntegrationTest
* @deprecated as of 1.4 in favor of {@link SpringBootTest @SpringBootTest} * @deprecated as of 1.4 in favor of {@link SpringBootTest @SpringBootTest}
* {@link org.springframework.boot.test.context.SpringBootContextLoader} can also be * {@link SpringBootContextLoader} can also be considered if absolutely necessary.
* considered if absolutely necessary.
*/ */
@Deprecated @Deprecated
public class SpringApplicationContextLoader extends AbstractContextLoader { public class SpringApplicationContextLoader extends AbstractContextLoader {
......
...@@ -46,7 +46,7 @@ import org.springframework.web.filter.DelegatingFilterProxy; ...@@ -46,7 +46,7 @@ import org.springframework.web.filter.DelegatingFilterProxy;
* @see FilterRegistrationBean * @see FilterRegistrationBean
* @see DelegatingFilterProxy * @see DelegatingFilterProxy
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.DelegatingFilterProxyRegistrationBean * {@link org.springframework.boot.web.servlet.DelegatingFilterProxyRegistrationBean}
*/ */
@Deprecated @Deprecated
public class DelegatingFilterProxyRegistrationBean public class DelegatingFilterProxyRegistrationBean
......
...@@ -39,7 +39,7 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; ...@@ -39,7 +39,7 @@ import org.springframework.boot.web.servlet.ServletContextInitializer;
* @see ServletContext#addFilter(String, Filter) * @see ServletContext#addFilter(String, Filter)
* @see DelegatingFilterProxyRegistrationBean * @see DelegatingFilterProxyRegistrationBean
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.servlet.FilterRegistrationBean * {@link org.springframework.boot.web.servlet.FilterRegistrationBean}
*/ */
@Deprecated @Deprecated
public class FilterRegistrationBean public class FilterRegistrationBean
......
...@@ -29,7 +29,8 @@ import javax.servlet.MultipartConfigElement; ...@@ -29,7 +29,8 @@ import javax.servlet.MultipartConfigElement;
* </pre> * </pre>
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated as of 1.4 in favor of org.springframework.boot.web.MultipartConfigFactory * @deprecated as of 1.4 in favor of
* {@link org.springframework.boot.web.servlet.MultipartConfigFactory}
*/ */
@Deprecated @Deprecated
public class MultipartConfigFactory public class MultipartConfigFactory
......
...@@ -36,7 +36,7 @@ import org.springframework.web.WebApplicationInitializer; ...@@ -36,7 +36,7 @@ import org.springframework.web.WebApplicationInitializer;
* @author Phillip Webb * @author Phillip Webb
* @see WebApplicationInitializer * @see WebApplicationInitializer
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.servlet.ServletContextInitializer * {@link org.springframework.boot.web.servlet.ServletContextInitializer}
*/ */
@Deprecated @Deprecated
public interface ServletContextInitializer public interface ServletContextInitializer
......
...@@ -48,7 +48,7 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; ...@@ -48,7 +48,7 @@ import org.springframework.boot.web.servlet.ServletContextInitializer;
* @author Dave Syer * @author Dave Syer
* @author Phillip Webb * @author Phillip Webb
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.ServletListenerRegistrationBean * {@link org.springframework.boot.web.servlet.ServletListenerRegistrationBean}
*/ */
@Deprecated @Deprecated
public class ServletListenerRegistrationBean<T extends EventListener> public class ServletListenerRegistrationBean<T extends EventListener>
......
...@@ -36,7 +36,8 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; ...@@ -36,7 +36,8 @@ import org.springframework.boot.web.servlet.ServletContextInitializer;
* @author Phillip Webb * @author Phillip Webb
* @see ServletContextInitializer * @see ServletContextInitializer
* @see ServletContext#addServlet(String, Servlet) * @see ServletContext#addServlet(String, Servlet)
* @deprecated as of 1.4 in favor of org.springframework.boot.web.servlet.ServletRegistrationBean * @deprecated as of 1.4 in favor of
* {@link org.springframework.boot.web.servlet.ServletRegistrationBean}
*/ */
@Deprecated @Deprecated
public class ServletRegistrationBean public class ServletRegistrationBean
......
...@@ -37,7 +37,8 @@ import org.springframework.stereotype.Component; ...@@ -37,7 +37,8 @@ import org.springframework.stereotype.Component;
* @author Phillip Webb * @author Phillip Webb
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.4.0 * @since 1.4.0
* @deprecated as of 1.4 in favor of org.springframework.boot.web.support.ErrorPageFilter * @deprecated as of 1.4 in favor of
* {@link org.springframework.boot.web.support.ErrorPageFilter}
*/ */
@Component @Component
@Order(Ordered.HIGHEST_PRECEDENCE) @Order(Ordered.HIGHEST_PRECEDENCE)
......
...@@ -25,7 +25,7 @@ import org.springframework.web.filter.CharacterEncodingFilter; ...@@ -25,7 +25,7 @@ import org.springframework.web.filter.CharacterEncodingFilter;
* @author Phillip Webb * @author Phillip Webb
* @since 1.2.1 * @since 1.2.1
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.filter.OrderedCharacterEncodingFilter * {@link org.springframework.boot.web.filter.OrderedCharacterEncodingFilter}
*/ */
@Deprecated @Deprecated
public class OrderedCharacterEncodingFilter public class OrderedCharacterEncodingFilter
......
...@@ -25,7 +25,7 @@ import org.springframework.web.filter.HiddenHttpMethodFilter; ...@@ -25,7 +25,7 @@ import org.springframework.web.filter.HiddenHttpMethodFilter;
* @author Phillip Webb * @author Phillip Webb
* @since 1.2.4 * @since 1.2.4
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.filter.OrderedHiddenHttpMethodFilter * {@link org.springframework.boot.web.filter.OrderedHiddenHttpMethodFilter}
*/ */
@Deprecated @Deprecated
public class OrderedHiddenHttpMethodFilter public class OrderedHiddenHttpMethodFilter
......
...@@ -25,7 +25,7 @@ import org.springframework.web.filter.HttpPutFormContentFilter; ...@@ -25,7 +25,7 @@ import org.springframework.web.filter.HttpPutFormContentFilter;
* @author Joao Pedro Evangelista * @author Joao Pedro Evangelista
* @since 1.3.0 * @since 1.3.0
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.filter.OrderedHttpPutFormContentFilter * {@link org.springframework.boot.web.filter.OrderedHttpPutFormContentFilter}
*/ */
@Deprecated @Deprecated
public class OrderedHttpPutFormContentFilter public class OrderedHttpPutFormContentFilter
......
...@@ -25,7 +25,7 @@ import org.springframework.web.filter.RequestContextFilter; ...@@ -25,7 +25,7 @@ import org.springframework.web.filter.RequestContextFilter;
* @author Phillip Webb * @author Phillip Webb
* @since 1.3.0 * @since 1.3.0
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.filter.OrderedRequestContextFilter * {@link org.springframework.boot.web.filter.OrderedRequestContextFilter}
*/ */
@Deprecated @Deprecated
public class OrderedRequestContextFilter public class OrderedRequestContextFilter
......
...@@ -39,7 +39,7 @@ import org.springframework.core.env.Environment; ...@@ -39,7 +39,7 @@ import org.springframework.core.env.Environment;
* @author Phillip Webb * @author Phillip Webb
* @since 1.3.0 * @since 1.3.0
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.context.embedded.ServerPortInfoApplicationContextInitializer * {@link org.springframework.boot.context.embedded.ServerPortInfoApplicationContextInitializer}
*/ */
@Deprecated @Deprecated
public class ServerPortInfoApplicationContextInitializer extends public class ServerPortInfoApplicationContextInitializer extends
......
...@@ -26,7 +26,7 @@ import org.springframework.context.ApplicationContextInitializer; ...@@ -26,7 +26,7 @@ import org.springframework.context.ApplicationContextInitializer;
* @author Dave Syer * @author Dave Syer
* @author Phillip Webb * @author Phillip Webb
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.support.ServletContextApplicationContextInitializer * {@link org.springframework.boot.web.support.ServletContextApplicationContextInitializer}
*/ */
@Deprecated @Deprecated
public class ServletContextApplicationContextInitializer extends public class ServletContextApplicationContextInitializer extends
......
...@@ -47,7 +47,7 @@ import org.springframework.web.WebApplicationInitializer; ...@@ -47,7 +47,7 @@ import org.springframework.web.WebApplicationInitializer;
* @author Andy Wilkinson * @author Andy Wilkinson
* @see #configure(SpringApplicationBuilder) * @see #configure(SpringApplicationBuilder)
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* org.springframework.boot.web.support.SpringBootServletInitializer * {@link org.springframework.boot.web.support.SpringBootServletInitializer}
*/ */
@Deprecated @Deprecated
public abstract class SpringBootServletInitializer public abstract class SpringBootServletInitializer
......
...@@ -44,7 +44,7 @@ import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean; ...@@ -44,7 +44,7 @@ import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated as of 1.4 in favor of * @deprecated as of 1.4 in favor of
* {@code @org.springframework.boot.autoconfigure.domain.EntityScan} or explicit * {@code org.springframework.boot.autoconfigure.domain.EntityScan} or explicit
* configuration of the {@link LocalContainerEntityManagerFactoryBean} (either * configuration of the {@link LocalContainerEntityManagerFactoryBean} (either
* {@link LocalContainerEntityManagerFactoryBean#setPackagesToScan(String...) directly} or * {@link LocalContainerEntityManagerFactoryBean#setPackagesToScan(String...) directly} or
* using the {@link EntityManagerFactoryBuilder.Builder#packages(Class...) * using the {@link EntityManagerFactoryBuilder.Builder#packages(Class...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment