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

bindEntries() — spring-boot Function Reference

Architecture documentation for the bindEntries() function in MapBinder.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  0b966f5f_5379_0fd2_77e0_81b2587028f3["bindEntries()"]
  87daadf6_0233_73e5_c9a6_fa5a37ad45f1["bindAggregate()"]
  87daadf6_0233_73e5_c9a6_fa5a37ad45f1 -->|calls| 0b966f5f_5379_0fd2_77e0_81b2587028f3
  3b891a71_3217_1514_ff70_c3b7071b73f4["getEntryName()"]
  0b966f5f_5379_0fd2_77e0_81b2587028f3 -->|calls| 3b891a71_3217_1514_ff70_c3b7071b73f4
  dc096334_7316_4621_3470_9e12e8963800["getKeyName()"]
  0b966f5f_5379_0fd2_77e0_81b2587028f3 -->|calls| dc096334_7316_4621_3470_9e12e8963800
  e44a1f8d_9789_8cec_a2fb_14bf325b4a50["getValueBindable()"]
  0b966f5f_5379_0fd2_77e0_81b2587028f3 -->|calls| e44a1f8d_9789_8cec_a2fb_14bf325b4a50
  style 0b966f5f_5379_0fd2_77e0_81b2587028f3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java lines 180–189

		void bindEntries(ConfigurationPropertySource source, Map<Object, Object> map) {
			if (source instanceof IterableConfigurationPropertySource iterableSource) {
				for (ConfigurationPropertyName name : iterableSource) {
					ConfigurationPropertyName entryName = getEntryName(source, name);
					Object key = getContext().getConverter().convert(getKeyName(entryName), this.keyType);
					Bindable<?> valueBindable = getValueBindable(name);
					map.computeIfAbsent(key, (k) -> this.elementBinder.bind(entryName, valueBindable));
				}
			}
		}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does bindEntries() do?
bindEntries() is a function in the spring-boot codebase.
What does bindEntries() call?
bindEntries() calls 3 function(s): getEntryName, getKeyName, getValueBindable.
What calls bindEntries()?
bindEntries() is called by 1 function(s): bindAggregate.

Analyze Your Own Codebase

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

Try Supermodel Free