TestPropertySourceLoader2 Class — spring-boot Architecture
Architecture documentation for the TestPropertySourceLoader2 class in TestPropertySourceLoader2.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/TestPropertySourceLoader2.java lines 34–47
class TestPropertySourceLoader2 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("customloader2", "true");
return Collections.singletonList(new MapPropertySource(name, map));
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free