OriginCapablePropertySource Class — spring-boot Architecture
Architecture documentation for the OriginCapablePropertySource class in SpringConfigurationPropertySourceTests.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/source/SpringConfigurationPropertySourceTests.java lines 268–294
static class OriginCapablePropertySource<T> extends PropertySource<T> implements OriginLookup<String> {
private final PropertySource<T> propertySource;
OriginCapablePropertySource(PropertySource<T> propertySource) {
super(propertySource.getName(), propertySource.getSource());
this.propertySource = propertySource;
}
@Override
public @Nullable Object getProperty(String name) {
return this.propertySource.getProperty(name);
}
@Override
public Origin getOrigin(String name) {
return new Origin() {
@Override
public String toString() {
return "TestOrigin " + name;
}
};
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free