Home / Class/ ContextId Class — spring-boot Architecture

ContextId Class — spring-boot Architecture

Architecture documentation for the ContextId class in ContextIdApplicationContextInitializer.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/ContextIdApplicationContextInitializer.java lines 75–93

	static class ContextId {

		private final AtomicLong children = new AtomicLong();

		private final String id;

		ContextId(String id) {
			this.id = id;
		}

		ContextId createChildId() {
			return new ContextId(this.id + "-" + this.children.incrementAndGet());
		}

		String getId() {
			return this.id;
		}

	}

Analyze Your Own Codebase

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

Try Supermodel Free