Remove references to ConfigFileApplicationListener

Update documentation and meta-data to remove referenced to the now
deprecated `ConfigFileApplicationListener` class.

Closes gh-31895
This commit is contained in:
Phillip Webb
2022-07-28 10:43:48 +01:00
parent 98627e3d71
commit 9a2ad6d42d
3 changed files with 8 additions and 9 deletions

View File

@@ -96,7 +96,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor implements EnvironmentPost
private final Log logger;
// Before ConfigFileApplicationListener so values there can use these
// Before ConfigDataEnvironmentPostProcessor so values there can use these
private int order = ConfigDataEnvironmentPostProcessor.ORDER - 1;
/**

View File

@@ -293,7 +293,7 @@
{
"name": "spring.config.additional-location",
"type": "java.lang.String",
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"sourceType": "org.springframework.boot.context.config.ConfigDataEnvironment",
"description": "Config file locations used in addition to the defaults."
},
{
@@ -305,13 +305,13 @@
{
"name": "spring.config.location",
"type": "java.lang.String",
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"sourceType": "org.springframework.boot.context.config.ConfigDataEnvironment",
"description": "Config file locations that replace the defaults."
},
{
"name": "spring.config.name",
"type": "java.lang.String",
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"sourceType": "org.springframework.boot.context.config.StandardConfigDataLocationResolver",
"description": "Config file name.",
"defaultValue": "application"
},
@@ -910,7 +910,7 @@
{
"name": "spring.profiles",
"type": "java.util.List<java.lang.String>",
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"sourceType": "org.springframework.boot.context.config.Profiles",
"description": "Comma-separated list of profile expressions that at least one should match for the document to be included.",
"deprecation": {
"replacement": "spring.config.activate.on-profile",
@@ -920,12 +920,13 @@
{
"name": "spring.profiles.active",
"type": "java.util.List<java.lang.String>",
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"sourceType": "org.springframework.boot.context.config.Profiles",
"description": "Comma-separated list of active profiles. Can be overridden by a command line switch."
},
{
"name": "spring.profiles.default",
"type": "java.lang.String",
"sourceType": "org.springframework.boot.context.config.Profiles",
"description": "Name of the profile to enable if no profile is active.",
"defaultValue": "default"
},