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

getBinderProvidesBinder() — spring-boot Function Reference

Architecture documentation for the getBinderProvidesBinder() function in ConfigDataEnvironmentContributorsTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b070f1ff_3664_71f0_86f2_6e11f0e7f046["getBinderProvidesBinder()"]
  5f0c1c36_012f_880d_d499_3a02c8f8dab2["getBinder()"]
  b070f1ff_3664_71f0_86f2_6e11f0e7f046 -->|calls| 5f0c1c36_012f_880d_d499_3a02c8f8dab2
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  b070f1ff_3664_71f0_86f2_6e11f0e7f046 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  87f0b21f_3955_8dcc_cc55_9c6321893f96["get()"]
  b070f1ff_3664_71f0_86f2_6e11f0e7f046 -->|calls| 87f0b21f_3955_8dcc_cc55_9c6321893f96
  style b070f1ff_3664_71f0_86f2_6e11f0e7f046 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributorsTests.java lines 284–295

	@Test
	void getBinderProvidesBinder() {
		MockPropertySource propertySource = new MockPropertySource();
		propertySource.setProperty("test", "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

Frequently Asked Questions

What does getBinderProvidesBinder() do?
getBinderProvidesBinder() is a function in the spring-boot codebase.
What does getBinderProvidesBinder() call?
getBinderProvidesBinder() 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