withBoundProperties() — spring-boot Function Reference
Architecture documentation for the withBoundProperties() function in ConfigDataEnvironmentContributor.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a7480ca7_f8f8_65b1_8de2_13288626fd5a["withBoundProperties()"] 47f8b0b8_970d_5042_3a5b_952b17ef1b75["getConfigurationPropertySource()"] a7480ca7_f8f8_65b1_8de2_13288626fd5a -->|calls| 47f8b0b8_970d_5042_3a5b_952b17ef1b75 bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"] a7480ca7_f8f8_65b1_8de2_13288626fd5a -->|calls| bdf1886c_19f9_9cc1_5bff_886f1b1e2835 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] a7480ca7_f8f8_65b1_8de2_13288626fd5a -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 a56758ea_d38b_04d6_8d62_7538d6bb55e2["ConfigDataEnvironmentContributor()"] a7480ca7_f8f8_65b1_8de2_13288626fd5a -->|calls| a56758ea_d38b_04d6_8d62_7538d6bb55e2 style a7480ca7_f8f8_65b1_8de2_13288626fd5a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributor.java lines 247–262
ConfigDataEnvironmentContributor withBoundProperties(Iterable<ConfigDataEnvironmentContributor> contributors,
@Nullable ConfigDataActivationContext activationContext) {
ConfigurationPropertySource configurationPropertySource = getConfigurationPropertySource();
Assert.state(configurationPropertySource != null, "'configurationPropertySource' must not be null");
Iterable<ConfigurationPropertySource> sources = Collections.singleton(configurationPropertySource);
PlaceholdersResolver placeholdersResolver = new ConfigDataEnvironmentContributorPlaceholdersResolver(
contributors, activationContext, this, true, this.conversionService);
Binder binder = new Binder(sources, placeholdersResolver, null, null, null);
ConfigDataProperties properties = ConfigDataProperties.get(binder);
if (properties != null && this.configDataOptions.contains(ConfigData.Option.IGNORE_IMPORTS)) {
properties = properties.withoutImports();
}
return new ConfigDataEnvironmentContributor(Kind.BOUND_IMPORT, this.location, this.resource,
this.fromProfileSpecificImport, this.propertySource, this.configurationPropertySource, properties,
this.configDataOptions, null, this.conversionService);
}
Domain
Subdomains
Calls
- Binder()
- ConfigDataEnvironmentContributor()
- get()
- getConfigurationPropertySource()
Source
Frequently Asked Questions
What does withBoundProperties() do?
withBoundProperties() is a function in the spring-boot codebase.
What does withBoundProperties() call?
withBoundProperties() calls 4 function(s): Binder, ConfigDataEnvironmentContributor, get, getConfigurationPropertySource.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free