getBinderWhenHasPlaceholderResolvesPlaceholder() — spring-boot Function Reference
Architecture documentation for the getBinderWhenHasPlaceholderResolvesPlaceholder() function in ConfigDataEnvironmentContributorsTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ea4f2fbe_bc8f_c70a_bef1_95df23f9a676["getBinderWhenHasPlaceholderResolvesPlaceholder()"] 5f0c1c36_012f_880d_d499_3a02c8f8dab2["getBinder()"] ea4f2fbe_bc8f_c70a_bef1_95df23f9a676 -->|calls| 5f0c1c36_012f_880d_d499_3a02c8f8dab2 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] ea4f2fbe_bc8f_c70a_bef1_95df23f9a676 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 87f0b21f_3955_8dcc_cc55_9c6321893f96["get()"] ea4f2fbe_bc8f_c70a_bef1_95df23f9a676 -->|calls| 87f0b21f_3955_8dcc_cc55_9c6321893f96 style ea4f2fbe_bc8f_c70a_bef1_95df23f9a676 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributorsTests.java lines 330–342
@Test
void getBinderWhenHasPlaceholderResolvesPlaceholder() {
MockPropertySource propertySource = new MockPropertySource();
propertySource.setProperty("test", "${other}");
propertySource.setProperty("other", "springboot");
ConfigDataEnvironmentContributor contributor = ConfigDataEnvironmentContributor.ofExisting(propertySource,
this.conversionService);
ConfigDataEnvironmentContributors contributors = new ConfigDataEnvironmentContributors(this.logFactory,
this.bootstrapContext, List.of(contributor), this.conversionService,
ConfigDataEnvironmentUpdateListener.NONE);
Binder binder = contributors.getBinder(this.activationContext);
assertThat(binder.bind("test", String.class).get()).isEqualTo("springboot");
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does getBinderWhenHasPlaceholderResolvesPlaceholder() do?
getBinderWhenHasPlaceholderResolvesPlaceholder() is a function in the spring-boot codebase.
What does getBinderWhenHasPlaceholderResolvesPlaceholder() call?
getBinderWhenHasPlaceholderResolvesPlaceholder() calls 3 function(s): bind, get, getBinder.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free