Home / Function/ loadWithConfigurationPropertiesBindHandlerAdvisor() — spring-boot Function Reference

loadWithConfigurationPropertiesBindHandlerAdvisor() — spring-boot Function Reference

Architecture documentation for the loadWithConfigurationPropertiesBindHandlerAdvisor() function in ConfigurationPropertiesBindHandlerAdvisorTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  26186143_7012_2dad_b814_08fb353f6578["loadWithConfigurationPropertiesBindHandlerAdvisor()"]
  270d4ec4_3bda_055f_e58f_52fac05e17aa["load()"]
  26186143_7012_2dad_b814_08fb353f6578 -->|calls| 270d4ec4_3bda_055f_e58f_52fac05e17aa
  07b04d8b_afb9_6c0e_13f7_40918a747e09["getBindings()"]
  26186143_7012_2dad_b814_08fb353f6578 -->|calls| 07b04d8b_afb9_6c0e_13f7_40918a747e09
  bc170fc6_9579_6770_cef8_b0490b46e340["getDestination()"]
  26186143_7012_2dad_b814_08fb353f6578 -->|calls| bc170fc6_9579_6770_cef8_b0490b46e340
  4ee043ac_1d34_9f85_f83e_733d1adfafc1["getContentType()"]
  26186143_7012_2dad_b814_08fb353f6578 -->|calls| 4ee043ac_1d34_9f85_f83e_733d1adfafc1
  2240d92d_9377_14f7_d46a_dbbc4937f5d8["get()"]
  26186143_7012_2dad_b814_08fb353f6578 -->|calls| 2240d92d_9377_14f7_d46a_dbbc4937f5d8
  style 26186143_7012_2dad_b814_08fb353f6578 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindHandlerAdvisorTests.java lines 70–84

	@Test
	void loadWithConfigurationPropertiesBindHandlerAdvisor() {
		load(WithConfigurationPropertiesBindHandlerAdvisor.class, "foo.bar.default.content-type=text/plain",
				"foo.bar.bindings.input.destination=d1", "foo.bar.bindings.input.content-type=text/xml",
				"foo.bar.bindings.output.destination=d2");
		BindingServiceProperties properties = this.context.getBean(BindingServiceProperties.class);
		BindingProperties input = properties.getBindings().get("input");
		assertThat(input).isNotNull();
		assertThat(input.getDestination()).isEqualTo("d1");
		assertThat(input.getContentType()).isEqualTo("text/xml");
		BindingProperties output = properties.getBindings().get("output");
		assertThat(output).isNotNull();
		assertThat(output.getDestination()).isEqualTo("d2");
		assertThat(output.getContentType()).isEqualTo("text/plain");
	}

Domain

Subdomains

Calls

  • get()
  • getBindings()
  • getContentType()
  • getDestination()
  • load()

Frequently Asked Questions

What does loadWithConfigurationPropertiesBindHandlerAdvisor() do?
loadWithConfigurationPropertiesBindHandlerAdvisor() is a function in the spring-boot codebase.
What does loadWithConfigurationPropertiesBindHandlerAdvisor() call?
loadWithConfigurationPropertiesBindHandlerAdvisor() calls 5 function(s): get, getBindings, getContentType, getDestination, load.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free