Home / Class/ TestResourceLoader Class — spring-boot Architecture

TestResourceLoader Class — spring-boot Architecture

Architecture documentation for the TestResourceLoader class in ApplicationResourceLoaderTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/io/ApplicationResourceLoaderTests.java lines 355–363

	static class TestResourceLoader extends DefaultResourceLoader {

		@Override
		public Resource getResource(String location) {
			return (!"spring".equals(location)) ? super.getResource(location)
					: new ByteArrayResource("boot".getBytes(StandardCharsets.UTF_8));
		}

	}

Analyze Your Own Codebase

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

Try Supermodel Free