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

bindOrCreate() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d4d55df6_6767_f4b0_51f7_b000f762e276["bindOrCreate()"]
  204e3893_56df_fd2d_7084_1ca7681e657c["bindOrCreate()"]
  d4d55df6_6767_f4b0_51f7_b000f762e276 -->|calls| 204e3893_56df_fd2d_7084_1ca7681e657c
  ce02f572_c486_43df_ae0a_9908cf5bb011["getAnnotation()"]
  d4d55df6_6767_f4b0_51f7_b000f762e276 -->|calls| ce02f572_c486_43df_ae0a_9908cf5bb011
  7049470b_f628_735d_a808_ac3f1e21b5b2["getBindHandler()"]
  d4d55df6_6767_f4b0_51f7_b000f762e276 -->|calls| 7049470b_f628_735d_a808_ac3f1e21b5b2
  69682665_c078_7e51_d4e9_57f9dfa1bf7e["getBinder()"]
  d4d55df6_6767_f4b0_51f7_b000f762e276 -->|calls| 69682665_c078_7e51_d4e9_57f9dfa1bf7e
  style d4d55df6_6767_f4b0_51f7_b000f762e276 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	Object bindOrCreate(ConfigurationPropertiesBean propertiesBean) {
		Bindable<?> target = propertiesBean.asBindTarget();
		ConfigurationProperties annotation = propertiesBean.getAnnotation();
		BindHandler bindHandler = getBindHandler(target, annotation);
		return getBinder().bindOrCreate(annotation.prefix(), target, bindHandler);
	}

Domain

Subdomains

Frequently Asked Questions

What does bindOrCreate() do?
bindOrCreate() is a function in the spring-boot codebase.
What does bindOrCreate() call?
bindOrCreate() calls 4 function(s): bindOrCreate, getAnnotation, getBindHandler, getBinder.

Analyze Your Own Codebase

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

Try Supermodel Free