copyPropertySources() — spring-boot Function Reference
Architecture documentation for the copyPropertySources() function in EnvironmentConverter.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 77c7e6ec_a4dc_2b3d_62bd_59ac1827629c["copyPropertySources()"] f302683a_9353_4f1f_7412_08d2737610c7["convertEnvironment()"] f302683a_9353_4f1f_7412_08d2737610c7 -->|calls| 77c7e6ec_a4dc_2b3d_62bd_59ac1827629c f3576e00_bb52_2a89_1596_841cf1a7c965["removePropertySources()"] 77c7e6ec_a4dc_2b3d_62bd_59ac1827629c -->|calls| f3576e00_bb52_2a89_1596_841cf1a7c965 a1f159bb_2b02_1bbb_84a2_531624d9922b["isServletEnvironment()"] 77c7e6ec_a4dc_2b3d_62bd_59ac1827629c -->|calls| a1f159bb_2b02_1bbb_84a2_531624d9922b style 77c7e6ec_a4dc_2b3d_62bd_59ac1827629c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/EnvironmentConverter.java lines 101–108
private void copyPropertySources(ConfigurableEnvironment source, ConfigurableEnvironment target) {
removePropertySources(target.getPropertySources(), isServletEnvironment(target.getClass(), this.classLoader));
for (PropertySource<?> propertySource : source.getPropertySources()) {
if (!SERVLET_ENVIRONMENT_SOURCE_NAMES.contains(propertySource.getName())) {
target.getPropertySources().addLast(propertySource);
}
}
}
Domain
Subdomains
Calls
- isServletEnvironment()
- removePropertySources()
Called By
Source
Frequently Asked Questions
What does copyPropertySources() do?
copyPropertySources() is a function in the spring-boot codebase.
What does copyPropertySources() call?
copyPropertySources() calls 2 function(s): isServletEnvironment, removePropertySources.
What calls copyPropertySources()?
copyPropertySources() is called by 1 function(s): convertEnvironment.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free