Merge branch '2.4.x'
This commit is contained in:
@@ -164,7 +164,7 @@ public class SpringApplication {
|
||||
/**
|
||||
* The class name of application context that will be used by default for non-web
|
||||
* environments.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of using a
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of using a
|
||||
* {@link ApplicationContextFactory}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -174,7 +174,7 @@ public class SpringApplication {
|
||||
/**
|
||||
* The class name of application context that will be used by default for web
|
||||
* environments.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of using an
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of using an
|
||||
* {@link ApplicationContextFactory}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -184,7 +184,7 @@ public class SpringApplication {
|
||||
/**
|
||||
* The class name of application context that will be used by default for reactive web
|
||||
* environments.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of using an
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of using an
|
||||
* {@link ApplicationContextFactory}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -1233,7 +1233,7 @@ public class SpringApplication {
|
||||
* applications or {@link AnnotationConfigApplicationContext} for non web based
|
||||
* applications.
|
||||
* @param applicationContextClass the context class to set
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #setApplicationContextFactory(ApplicationContextFactory)}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -47,7 +47,7 @@ public interface SpringApplicationRunListener {
|
||||
/**
|
||||
* Called immediately when the run method has first started. Can be used for very
|
||||
* early initialization.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #starting(ConfigurableBootstrapContext)}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -69,7 +69,7 @@ public interface SpringApplicationRunListener {
|
||||
* Called once the environment has been prepared, but before the
|
||||
* {@link ApplicationContext} has been created.
|
||||
* @param environment the environment
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #environmentPrepared(ConfigurableBootstrapContext, ConfigurableEnvironment)}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -276,7 +276,7 @@ public class SpringApplicationBuilder {
|
||||
* Explicitly set the context class to be used.
|
||||
* @param cls the context class to use
|
||||
* @return the current builder
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #contextFactory(ApplicationContextFactory)}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -107,7 +107,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
|
||||
|
||||
/**
|
||||
* Create a new {@link CloudFoundryVcapEnvironmentPostProcessor} instance.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #CloudFoundryVcapEnvironmentPostProcessor(Log)}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -154,7 +154,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
|
||||
|
||||
/**
|
||||
* Event listener used to switch logging.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of only using
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of only using
|
||||
* {@link EnvironmentPostProcessor} callbacks
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -112,7 +112,7 @@ import org.springframework.util.StringUtils;
|
||||
* @author Madhura Bhave
|
||||
* @author Scott Frederick
|
||||
* @since 1.0.0
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link ConfigDataEnvironmentPostProcessor}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.core.env.PropertySource;
|
||||
* {@link ConfigFileApplicationListener} to filter out properties for specific operations.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @deprecated since 2.4 for removal in 2.6 along with
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 along with
|
||||
* {@link ConfigFileApplicationListener}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -40,7 +40,7 @@ public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
|
||||
* @param application the current application
|
||||
* @param args the arguments the application is running with
|
||||
* @param environment the environment that was just created
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #ApplicationEnvironmentPreparedEvent(ConfigurableBootstrapContext, SpringApplication, String[], ConfigurableEnvironment)}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -42,7 +42,7 @@ public class ApplicationStartingEvent extends SpringApplicationEvent {
|
||||
* Create a new {@link ApplicationStartingEvent} instance.
|
||||
* @param application the current application
|
||||
* @param args the arguments the application is running with
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #ApplicationStartingEvent(ConfigurableBootstrapContext, SpringApplication, String[])}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.springframework.core.ResolvableType;
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.0
|
||||
* @deprecated since 2.4 for removal in 2.6 with no direct replacement.
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 with no direct replacement.
|
||||
* {@link FailureAnalysis} is now the preferred approach for diagnosing and reporting
|
||||
* startup failures.
|
||||
*/
|
||||
|
||||
@@ -63,7 +63,7 @@ public enum EmbeddedDatabaseConnection {
|
||||
|
||||
/**
|
||||
* HSQL Database Connection.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link EmbeddedDatabaseConnection#HSQLDB}.
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -141,7 +141,7 @@ public enum EmbeddedDatabaseConnection {
|
||||
* database type.
|
||||
* @param driverClass the driver class
|
||||
* @return true if the driver class is one of the embedded types
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #isEmbedded(String, String)}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -83,7 +83,7 @@ public class LoggingSystemProperties {
|
||||
/**
|
||||
* The name of the System property that contains the rolled-over log file name
|
||||
* pattern.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_FILE_NAME_PATTERN}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -91,7 +91,7 @@ public class LoggingSystemProperties {
|
||||
|
||||
/**
|
||||
* The name of the System property that contains the clean history on start flag.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_CLEAN_HISTORY_ON_START}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -99,7 +99,7 @@ public class LoggingSystemProperties {
|
||||
|
||||
/**
|
||||
* The name of the System property that contains the file log max size.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_FILE_SIZE}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -107,7 +107,7 @@ public class LoggingSystemProperties {
|
||||
|
||||
/**
|
||||
* The name of the System property that contains the file total size cap.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_TOTAL_SIZE_CAP}
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -115,7 +115,7 @@ public class LoggingSystemProperties {
|
||||
|
||||
/**
|
||||
* The name of the System property that contains the file log max history.
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_HISTORY}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -250,7 +250,8 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
|
||||
* Return if filters should be initialized eagerly.
|
||||
* @return {@code true} if filters are initialized eagerly, otherwise {@code false}.
|
||||
* @since 2.0.0
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of {@link #isEagerFilterInit()}
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #isEagerFilterInit()}
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean isEagerInitFilters() {
|
||||
@@ -262,7 +263,8 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
|
||||
* @param eagerInitFilters {@code true} if filters are initialized eagerly, otherwise
|
||||
* {@code false}.
|
||||
* @since 2.0.0
|
||||
* @deprecated since 2.4 for removal in 2.6 in favor of {@link #isEagerFilterInit()}
|
||||
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
|
||||
* {@link #isEagerFilterInit()}
|
||||
*/
|
||||
@Deprecated
|
||||
public void setEagerInitFilters(boolean eagerInitFilters) {
|
||||
|
||||
Reference in New Issue
Block a user