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

echoContext() — spring-boot Function Reference

Architecture documentation for the echoContext() function in TaskExecutionAutoConfigurationTests.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  dca19434_48b8_ec5e_8d76_3df809eaf183["echoContext()"]
  ce6e38b3_6572_3290_d9a2_90795e510668["asyncTaskExecutorShouldNotNotRegisterContextPropagatingTaskDecoratorByDefault()"]
  ce6e38b3_6572_3290_d9a2_90795e510668 -->|calls| dca19434_48b8_ec5e_8d76_3df809eaf183
  f439feb7_f153_72c1_a5f5_d65894ca8a1c["asyncTaskExecutorWhenContextPropagationIsEnabledShouldRegisterBean()"]
  f439feb7_f153_72c1_a5f5_d65894ca8a1c -->|calls| dca19434_48b8_ec5e_8d76_3df809eaf183
  03886f65_beb9_a5b9_adae_ebb0226e1164["getValue()"]
  dca19434_48b8_ec5e_8d76_3df809eaf183 -->|calls| 03886f65_beb9_a5b9_adae_ebb0226e1164
  style dca19434_48b8_ec5e_8d76_3df809eaf183 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/task/TaskExecutionAutoConfigurationTests.java lines 669–673

		@Async
		Future<String> echoContext() {
			return CompletableFuture
				.completedFuture(Thread.currentThread().getName() + " " + TestThreadLocalHolder.getValue());
		}

Domain

Subdomains

Calls

Called By

  • asyncTaskExecutorShouldNotNotRegisterContextPropagatingTaskDecoratorByDefault()
  • asyncTaskExecutorWhenContextPropagationIsEnabledShouldRegisterBean()

Frequently Asked Questions

What does echoContext() do?
echoContext() is a function in the spring-boot codebase.
What does echoContext() call?
echoContext() calls 1 function(s): getValue.
What calls echoContext()?
echoContext() is called by 2 function(s): asyncTaskExecutorShouldNotNotRegisterContextPropagatingTaskDecoratorByDefault, asyncTaskExecutorWhenContextPropagationIsEnabledShouldRegisterBean.

Analyze Your Own Codebase

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

Try Supermodel Free