Home / Class/ TestPropertySourceLoader1 Class — spring-boot Architecture

TestPropertySourceLoader1 Class — spring-boot Architecture

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

Entity Profile

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/TestPropertySourceLoader1.java lines 34–47

class TestPropertySourceLoader1 implements PropertySourceLoader {

	@Override
	public String[] getFileExtensions() {
		return new String[] { "custom" };
	}

	@Override
	public List<PropertySource<?>> load(String name, Resource resource) throws IOException {
		Map<String, Object> map = Collections.singletonMap("customloader1", "true");
		return Collections.singletonList(new MapPropertySource(name, map));
	}

}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free