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

getUsingClassName() — spring-boot Function Reference

Architecture documentation for the getUsingClassName() function in StructuredLogFormatterFactory.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  2a8a8191_545a_b2d0_7d88_6869638e0850["getUsingClassName()"]
  265004e7_cc1c_e0cb_8596_2c0d8134eea9["get()"]
  265004e7_cc1c_e0cb_8596_2c0d8134eea9 -->|calls| 2a8a8191_545a_b2d0_7d88_6869638e0850
  3bcea378_40c2_32fb_cc0c_e14053a9dbfd["instantiate()"]
  2a8a8191_545a_b2d0_7d88_6869638e0850 -->|calls| 3bcea378_40c2_32fb_cc0c_e14053a9dbfd
  39b9fe61_b03d_add4_8a06_0c54e05aff98["checkTypeArgument()"]
  2a8a8191_545a_b2d0_7d88_6869638e0850 -->|calls| 39b9fe61_b03d_add4_8a06_0c54e05aff98
  style 2a8a8191_545a_b2d0_7d88_6869638e0850 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLogFormatterFactory.java lines 134–143

	@SuppressWarnings("unchecked")
	private @Nullable StructuredLogFormatter<E> getUsingClassName(String className) {
		Object formatter = this.instantiator.instantiate(className);
		if (formatter != null) {
			Assert.state(formatter instanceof StructuredLogFormatter,
					() -> "'%s' is not a StructuredLogFormatter".formatted(className));
			checkTypeArgument(formatter);
		}
		return (StructuredLogFormatter<E>) formatter;
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does getUsingClassName() do?
getUsingClassName() is a function in the spring-boot codebase.
What does getUsingClassName() call?
getUsingClassName() calls 2 function(s): checkTypeArgument, instantiate.
What calls getUsingClassName()?
getUsingClassName() is called by 1 function(s): get.

Analyze Your Own Codebase

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

Try Supermodel Free