Home / Class/ TestBean Class — spring-boot Architecture

TestBean Class — spring-boot Architecture

Architecture documentation for the TestBean class in TaskExecutionAutoConfigurationTests.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

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

	static class TestBean {

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

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

	}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free