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

resolve() — spring-boot Function Reference

Architecture documentation for the resolve() function in TestConfigDataBootstrap.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  33f4ff8f_8d0a_f72a_ae6e_0c903ca4f7d7["resolve()"]
  04ff4f7a_262d_0070_d76c_39da2b37eafd["getBootstrapContext()"]
  33f4ff8f_8d0a_f72a_ae6e_0c903ca4f7d7 -->|calls| 04ff4f7a_262d_0070_d76c_39da2b37eafd
  9dc71d50_2a0b_b197_2608_7e3fc4753650["ResolverHelper()"]
  33f4ff8f_8d0a_f72a_ae6e_0c903ca4f7d7 -->|calls| 9dc71d50_2a0b_b197_2608_7e3fc4753650
  c90d60de_6e4d_b157_5121_acbc78d427f0["get()"]
  33f4ff8f_8d0a_f72a_ae6e_0c903ca4f7d7 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0
  db33fe63_dc8d_5aa4_adec_a636c3f2f568["Resource()"]
  33f4ff8f_8d0a_f72a_ae6e_0c903ca4f7d7 -->|calls| db33fe63_dc8d_5aa4_adec_a636c3f2f568
  style 33f4ff8f_8d0a_f72a_ae6e_0c903ca4f7d7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/TestConfigDataBootstrap.java lines 52–59

		@Override
		public List<Resource> resolve(ConfigDataLocationResolverContext context, ConfigDataLocation location) {
			context.getBootstrapContext()
				.registerIfAbsent(ResolverHelper.class, InstanceSupplier.from(() -> new ResolverHelper(location)));
			ResolverHelper helper = context.getBootstrapContext().get(ResolverHelper.class);
			assertThat(helper).isNotNull();
			return Collections.singletonList(new Resource(helper));
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does resolve() do?
resolve() is a function in the spring-boot codebase.
What does resolve() call?
resolve() calls 4 function(s): ResolverHelper, Resource, get, getBootstrapContext.

Analyze Your Own Codebase

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

Try Supermodel Free