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

onStart() — spring-boot Function Reference

Architecture documentation for the onStart() function in ConfigurationPropertiesBinder.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  a4f3d4ee_3ebb_9d35_fd2f_4d3780f16d75["onStart()"]
  f8152589_ffcd_6c12_b119_a1f82a0687d5["isConfigurationProperties()"]
  a4f3d4ee_3ebb_9d35_fd2f_4d3780f16d75 -->|calls| f8152589_ffcd_6c12_b119_a1f82a0687d5
  935ce56b_7890_99f6_3b2b_00f85ac653e6["withBindRestrictions()"]
  a4f3d4ee_3ebb_9d35_fd2f_4d3780f16d75 -->|calls| 935ce56b_7890_99f6_3b2b_00f85ac653e6
  f7e9ddde_2634_c57e_57b9_2c188cc789b6["getType()"]
  a4f3d4ee_3ebb_9d35_fd2f_4d3780f16d75 -->|calls| f7e9ddde_2634_c57e_57b9_2c188cc789b6
  8d93b2ec_972a_7343_3135_e38778829fdd["onStart()"]
  a4f3d4ee_3ebb_9d35_fd2f_4d3780f16d75 -->|calls| 8d93b2ec_972a_7343_3135_e38778829fdd
  style a4f3d4ee_3ebb_9d35_fd2f_4d3780f16d75 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBinder.java lines 238–242

		@Override
		public <T> Bindable<T> onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) {
			return isConfigurationProperties(target.getType().resolve())
					? target.withBindRestrictions(BindRestriction.NO_DIRECT_PROPERTY) : target;
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does onStart() do?
onStart() is a function in the spring-boot codebase.
What does onStart() call?
onStart() calls 4 function(s): getType, isConfigurationProperties, onStart, withBindRestrictions.

Analyze Your Own Codebase

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

Try Supermodel Free