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

setupJndi() — spring-boot Function Reference

Architecture documentation for the setupJndi() function in ConditionalOnJndiTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  e06010be_0fcd_24a1_4e3b_5528b00d68eb["setupJndi()"]
  34ff37aa_73a9_3e3a_be7a_dc22c59d14f1["jndiAvailable()"]
  34ff37aa_73a9_3e3a_be7a_dc22c59d14f1 -->|calls| e06010be_0fcd_24a1_4e3b_5528b00d68eb
  406b4dfc_956d_258b_4e80_51586966cdda["jndiLocationNotBound()"]
  406b4dfc_956d_258b_4e80_51586966cdda -->|calls| e06010be_0fcd_24a1_4e3b_5528b00d68eb
  76d9aec3_b164_38b5_c06c_131b6a23044f["jndiLocationBound()"]
  76d9aec3_b164_38b5_c06c_131b6a23044f -->|calls| e06010be_0fcd_24a1_4e3b_5528b00d68eb
  style e06010be_0fcd_24a1_4e3b_5528b00d68eb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnJndiTests.java lines 119–122

	private void setupJndi() {
		this.initialContextFactory = System.getProperty(Context.INITIAL_CONTEXT_FACTORY);
		System.setProperty(Context.INITIAL_CONTEXT_FACTORY, TestableInitialContextFactory.class.getName());
	}

Domain

Subdomains

Called By

  • jndiAvailable()
  • jndiLocationBound()
  • jndiLocationNotBound()

Frequently Asked Questions

What does setupJndi() do?
setupJndi() is a function in the spring-boot codebase.
What calls setupJndi()?
setupJndi() is called by 3 function(s): jndiAvailable, jndiLocationBound, jndiLocationNotBound.

Analyze Your Own Codebase

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

Try Supermodel Free