createContributors() — spring-boot Function Reference
Architecture documentation for the createContributors() function in ConfigDataEnvironment.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3["createContributors()"] 1c0f4959_8082_4cc4_44ff_ee77e50ffeb0["ConfigDataEnvironment()"] 1c0f4959_8082_4cc4_44ff_ee77e50ffeb0 -->|calls| e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3 8bc4cdbe_1f03_be56_5a17_58c4c06d2890["hasMatchingName()"] e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3 -->|calls| 8bc4cdbe_1f03_be56_5a17_58c4c06d2890 573e5152_60ef_8e47_885b_9d5ea793ac0e["getName()"] e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3 -->|calls| 573e5152_60ef_8e47_885b_9d5ea793ac0e 3239ff8d_be11_cbed_cd9f_1a6fa247382f["getInitialImportContributors()"] e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3 -->|calls| 3239ff8d_be11_cbed_cd9f_1a6fa247382f style e6c17bc9_c46f_95d4_a7e6_3cece64e3ea3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironment.java lines 165–188
private ConfigDataEnvironmentContributors createContributors(Binder binder) {
this.logger.trace("Building config data environment contributors");
MutablePropertySources propertySources = this.environment.getPropertySources();
List<ConfigDataEnvironmentContributor> contributors = new ArrayList<>(propertySources.size() + 10);
PropertySource<?> defaultPropertySource = null;
for (PropertySource<?> propertySource : propertySources) {
if (DefaultPropertiesPropertySource.hasMatchingName(propertySource)) {
defaultPropertySource = propertySource;
}
else {
this.logger.trace(LogMessage.format("Creating wrapped config data contributor for '%s'",
propertySource.getName()));
contributors.add(ConfigDataEnvironmentContributor.ofExisting(propertySource,
this.environment.getConversionService()));
}
}
contributors.addAll(getInitialImportContributors(binder));
if (defaultPropertySource != null) {
this.logger.trace("Creating wrapped config data contributor for default property source");
contributors.add(ConfigDataEnvironmentContributor.ofExisting(defaultPropertySource,
this.environment.getConversionService()));
}
return createContributors(contributors);
}
Domain
Subdomains
Calls
- getInitialImportContributors()
- getName()
- hasMatchingName()
Called By
Source
Frequently Asked Questions
What does createContributors() do?
createContributors() is a function in the spring-boot codebase.
What does createContributors() call?
createContributors() calls 3 function(s): getInitialImportContributors, getName, hasMatchingName.
What calls createContributors()?
createContributors() is called by 1 function(s): ConfigDataEnvironment.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free