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

registerHints() — spring-boot Function Reference

Architecture documentation for the registerHints() function in ConfigDataLocationRuntimeHints.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  0d6cbd66_54c1_495f_364b_235f1e0260bb["registerHints()"]
  e98508bc_32b0_4614_c7be_87769d741fec["getFileNames()"]
  0d6cbd66_54c1_495f_364b_235f1e0260bb -->|calls| e98508bc_32b0_4614_c7be_87769d741fec
  100651a9_96d9_4d6a_a9bc_215d989385ab["getLocations()"]
  0d6cbd66_54c1_495f_364b_235f1e0260bb -->|calls| 100651a9_96d9_4d6a_a9bc_215d989385ab
  208ec125_0803_93f1_3f41_6fcd98f2ad7b["getExtensions()"]
  0d6cbd66_54c1_495f_364b_235f1e0260bb -->|calls| 208ec125_0803_93f1_3f41_6fcd98f2ad7b
  style 0d6cbd66_54c1_495f_364b_235f1e0260bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLocationRuntimeHints.java lines 44–57

	@Override
	public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
		List<String> fileNames = getFileNames(classLoader);
		List<String> locations = getLocations(classLoader);
		List<String> extensions = getExtensions(classLoader);
		if (logger.isDebugEnabled()) {
			logger.debug("Registering application configuration hints for " + fileNames + "(" + extensions + ") at "
					+ locations);
		}
		FilePatternResourceHintsRegistrar.forClassPathLocations(locations)
			.withFilePrefixes(fileNames)
			.withFileExtensions(extensions)
			.registerHints(hints.resources(), classLoader);
	}

Domain

Subdomains

Calls

  • getExtensions()
  • getFileNames()
  • getLocations()

Frequently Asked Questions

What does registerHints() do?
registerHints() is a function in the spring-boot codebase.
What does registerHints() call?
registerHints() calls 3 function(s): getExtensions, getFileNames, getLocations.

Analyze Your Own Codebase

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

Try Supermodel Free