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

getProfileSpecificReferences() — spring-boot Function Reference

Architecture documentation for the getProfileSpecificReferences() function in StandardConfigDataLocationResolver.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  b3c6c667_0087_d418_8712_c81742860443["getProfileSpecificReferences()"]
  188f86e3_61ea_4cf4_a4b8_44bdea4922be["resolveProfileSpecific()"]
  188f86e3_61ea_4cf4_a4b8_44bdea4922be -->|calls| b3c6c667_0087_d418_8712_c81742860443
  0e1789f8_582f_ee60_f6b5_92b72ca36255["getResourceLocation()"]
  b3c6c667_0087_d418_8712_c81742860443 -->|calls| 0e1789f8_582f_ee60_f6b5_92b72ca36255
  d74908e0_5701_0efb_a7a4_37138f4d97dc["getReferences()"]
  b3c6c667_0087_d418_8712_c81742860443 -->|calls| d74908e0_5701_0efb_a7a4_37138f4d97dc
  style b3c6c667_0087_d418_8712_c81742860443 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/config/StandardConfigDataLocationResolver.java lines 153–163

	private Set<StandardConfigDataReference> getProfileSpecificReferences(ConfigDataLocationResolverContext context,
			ConfigDataLocation[] configDataLocations, Profiles profiles) {
		Set<StandardConfigDataReference> references = new LinkedHashSet<>();
		for (String profile : profiles) {
			for (ConfigDataLocation configDataLocation : configDataLocations) {
				String resourceLocation = getResourceLocation(context, configDataLocation);
				references.addAll(getReferences(configDataLocation, resourceLocation, profile));
			}
		}
		return references;
	}

Domain

Subdomains

Called By

  • resolveProfileSpecific()

Frequently Asked Questions

What does getProfileSpecificReferences() do?
getProfileSpecificReferences() is a function in the spring-boot codebase.
What does getProfileSpecificReferences() call?
getProfileSpecificReferences() calls 2 function(s): getReferences, getResourceLocation.
What calls getProfileSpecificReferences()?
getProfileSpecificReferences() is called by 1 function(s): resolveProfileSpecific.

Analyze Your Own Codebase

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

Try Supermodel Free