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

getContext() — spring-boot Function Reference

Architecture documentation for the getContext() function in TestableInitialContextFactory.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  ee013539_00b8_3ecc_5bdf_22df09c968df["getContext()"]
  9ce9f76d_6399_a943_20e4_a4ab866ee911["getInitialContext()"]
  9ce9f76d_6399_a943_20e4_a4ab866ee911 -->|calls| ee013539_00b8_3ecc_5bdf_22df09c968df
  7aa569b2_7ea2_abce_b00f_4abe9ac4d6d9["bind()"]
  7aa569b2_7ea2_abce_b00f_4abe9ac4d6d9 -->|calls| ee013539_00b8_3ecc_5bdf_22df09c968df
  7b7c966e_8229_fa83_f3ec_23fcfe71c74b["clearAll()"]
  7b7c966e_8229_fa83_f3ec_23fcfe71c74b -->|calls| ee013539_00b8_3ecc_5bdf_22df09c968df
  a0f2dd76_1927_8602_63e2_accc05ece701["TestableContext()"]
  ee013539_00b8_3ecc_5bdf_22df09c968df -->|calls| a0f2dd76_1927_8602_63e2_accc05ece701
  style ee013539_00b8_3ecc_5bdf_22df09c968df fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/testFixtures/java/org/springframework/boot/autoconfigure/jndi/TestableInitialContextFactory.java lines 55–65

	private static TestableContext getContext() {
		if (context == null) {
			try {
				context = new TestableContext();
			}
			catch (NamingException ex) {
				throw new IllegalStateException(ex);
			}
		}
		return context;
	}

Domain

Subdomains

Calls

  • TestableContext()

Called By

Frequently Asked Questions

What does getContext() do?
getContext() is a function in the spring-boot codebase.
What does getContext() call?
getContext() calls 1 function(s): TestableContext.
What calls getContext()?
getContext() is called by 3 function(s): bind, clearAll, getInitialContext.

Analyze Your Own Codebase

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

Try Supermodel Free