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

loadAsResources() — spring-boot Function Reference

Architecture documentation for the loadAsResources() function in BeanDefinitionLoader.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  2dee5bd9_557a_0079_6dbc_8ab2120bc1de["loadAsResources()"]
  3bc21dcb_a3d3_0b8a_fe24_fdd19445e435["load()"]
  3bc21dcb_a3d3_0b8a_fe24_fdd19445e435 -->|calls| 2dee5bd9_557a_0079_6dbc_8ab2120bc1de
  0b85e19a_f512_6758_4bd2_c83e1f1d9266["findResources()"]
  2dee5bd9_557a_0079_6dbc_8ab2120bc1de -->|calls| 0b85e19a_f512_6758_4bd2_c83e1f1d9266
  1cfb1ac6_874d_cdeb_61be_e4ff1e97410c["isLoadCandidate()"]
  2dee5bd9_557a_0079_6dbc_8ab2120bc1de -->|calls| 1cfb1ac6_874d_cdeb_61be_e4ff1e97410c
  3bc21dcb_a3d3_0b8a_fe24_fdd19445e435["load()"]
  2dee5bd9_557a_0079_6dbc_8ab2120bc1de -->|calls| 3bc21dcb_a3d3_0b8a_fe24_fdd19445e435
  style 2dee5bd9_557a_0079_6dbc_8ab2120bc1de fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/BeanDefinitionLoader.java lines 207–217

	private boolean loadAsResources(String resolvedSource) {
		boolean foundCandidate = false;
		Resource[] resources = findResources(resolvedSource);
		for (Resource resource : resources) {
			if (isLoadCandidate(resource)) {
				foundCandidate = true;
				load(resource);
			}
		}
		return foundCandidate;
	}

Domain

Subdomains

Calls

  • findResources()
  • isLoadCandidate()
  • load()

Called By

Frequently Asked Questions

What does loadAsResources() do?
loadAsResources() is a function in the spring-boot codebase.
What does loadAsResources() call?
loadAsResources() calls 3 function(s): findResources, isLoadCandidate, load.
What calls loadAsResources()?
loadAsResources() is called by 1 function(s): load.

Analyze Your Own Codebase

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

Try Supermodel Free