bindToArrayFromCommaStringPropertySetsOrigin() — spring-boot Function Reference
Architecture documentation for the bindToArrayFromCommaStringPropertySetsOrigin() function in ConfigDataLocationBindHandlerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b67c9e31_3e4f_e120_09c4_a49bbc276643["bindToArrayFromCommaStringPropertySetsOrigin()"] 6b13a440_b8c4_f4d4_0bc2_c932b8debc75["MapConfigurationPropertySource()"] b67c9e31_3e4f_e120_09c4_a49bbc276643 -->|calls| 6b13a440_b8c4_f4d4_0bc2_c932b8debc75 4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"] b67c9e31_3e4f_e120_09c4_a49bbc276643 -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6 bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"] b67c9e31_3e4f_e120_09c4_a49bbc276643 -->|calls| bdf1886c_19f9_9cc1_5bff_886f1b1e2835 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] b67c9e31_3e4f_e120_09c4_a49bbc276643 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] b67c9e31_3e4f_e120_09c4_a49bbc276643 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 style b67c9e31_3e4f_e120_09c4_a49bbc276643 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataLocationBindHandlerTests.java lines 43–56
@Test
void bindToArrayFromCommaStringPropertySetsOrigin() {
MapConfigurationPropertySource source = new MapConfigurationPropertySource();
source.put("locations", "a,b,c");
Binder binder = new Binder(source);
ConfigDataLocation[] bound = binder.bind("locations", ARRAY, this.handler).get();
String expectedLocation = "\"locations\" from property source \"source\"";
assertThat(bound[0]).hasToString("a");
assertThat(bound[0].getOrigin()).hasToString(expectedLocation);
assertThat(bound[1]).hasToString("b");
assertThat(bound[1].getOrigin()).hasToString(expectedLocation);
assertThat(bound[2]).hasToString("c");
assertThat(bound[2].getOrigin()).hasToString(expectedLocation);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindToArrayFromCommaStringPropertySetsOrigin() do?
bindToArrayFromCommaStringPropertySetsOrigin() is a function in the spring-boot codebase.
What does bindToArrayFromCommaStringPropertySetsOrigin() call?
bindToArrayFromCommaStringPropertySetsOrigin() calls 5 function(s): Binder, MapConfigurationPropertySource, bind, get, put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free