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

bindToSpringApplication() — spring-boot Function Reference

Architecture documentation for the bindToSpringApplication() function in SpringApplication.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  39ef021c_ae99_f6d7_d1c9_3905f466f9b5["bindToSpringApplication()"]
  be6f5284_4891_57c6_72a4_fd3fc0c8c35a["prepareEnvironment()"]
  be6f5284_4891_57c6_72a4_fd3fc0c8c35a -->|calls| 39ef021c_ae99_f6d7_d1c9_3905f466f9b5
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  39ef021c_ae99_f6d7_d1c9_3905f466f9b5 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  642e21e4_62b4_b533_c56f_fac958c3f6a1["ofInstance()"]
  39ef021c_ae99_f6d7_d1c9_3905f466f9b5 -->|calls| 642e21e4_62b4_b533_c56f_fac958c3f6a1
  87f0b21f_3955_8dcc_cc55_9c6321893f96["get()"]
  39ef021c_ae99_f6d7_d1c9_3905f466f9b5 -->|calls| 87f0b21f_3955_8dcc_cc55_9c6321893f96
  style 39ef021c_ae99_f6d7_d1c9_3905f466f9b5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 550–557

	protected void bindToSpringApplication(ConfigurableEnvironment environment) {
		try {
			Binder.get(environment).bind("spring.main", Bindable.ofInstance(this.properties));
		}
		catch (Exception ex) {
			throw new IllegalStateException("Cannot bind to SpringApplication", ex);
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does bindToSpringApplication() do?
bindToSpringApplication() is a function in the spring-boot codebase.
What does bindToSpringApplication() call?
bindToSpringApplication() calls 3 function(s): bind, get, ofInstance.
What calls bindToSpringApplication()?
bindToSpringApplication() is called by 1 function(s): prepareEnvironment.

Analyze Your Own Codebase

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

Try Supermodel Free