SpringBootPropertySource Class — spring-boot Architecture
Architecture documentation for the SpringBootPropertySource class in SpringBootPropertySource.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/SpringBootPropertySource.java lines 34–71
public class SpringBootPropertySource implements PropertySource {
private static final String PREFIX = "log4j.";
private final Map<String, String> properties = Collections
.singletonMap(ShutdownCallbackRegistry.SHUTDOWN_HOOK_ENABLED, "false");
@Override
public void forEach(BiConsumer<String, String> action) {
this.properties.forEach(action);
}
@Override
public CharSequence getNormalForm(Iterable<? extends CharSequence> tokens) {
return PREFIX + Util.joinAsCamelCase(tokens);
}
@Override
public int getPriority() {
return -200;
}
@Override
public @Nullable String getProperty(String key) {
return this.properties.get(key);
}
@Override
public boolean containsProperty(String key) {
return this.properties.containsKey(key);
}
@Override
public Collection<String> getPropertyNames() {
return this.properties.keySet();
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free