get() — spring-boot Function Reference
Architecture documentation for the get() function in ApplicationResourceLoader.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 12690030_33ae_7a5c_1c16_cca9534d2ced["get()"] 09e40f5a_e5db_998f_4ef6_311ec10bcd8f["get()"] 09e40f5a_e5db_998f_4ef6_311ec10bcd8f -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 606ae328_715f_34bc_e074_17b5ad0b1bc1["convert()"] 606ae328_715f_34bc_e074_17b5ad0b1bc1 -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 85d0aa6e_c0cb_cb5b_66d9_611455885afb["encodeFileContent()"] 85d0aa6e_c0cb_cb5b_66d9_611455885afb -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 761d38b8_3095_7bf2_586e_12e14dc208bd["certificatesAreLoadedLazily()"] 761d38b8_3095_7bf2_586e_12e14dc208bd -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 4847ab1e_95d2_ad4f_8ecb_7f80904a28f5["privateKeyIsLoadedLazily()"] 4847ab1e_95d2_ad4f_8ecb_7f80904a28f5 -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced e5c87b6d_6bec_2a19_a694_2128adeb96bf["withAliasIsLazy()"] e5c87b6d_6bec_2a19_a694_2128adeb96bf -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 798cb3a2_a948_3c3d_50ef_8834b35e17c2["withPasswordIsLazy()"] 798cb3a2_a948_3c3d_50ef_8834b35e17c2 -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 0479f8f9_ab82_f49e_6a8f_fd6ad9b06590["getCertificateReturnsCertificates()"] 0479f8f9_ab82_f49e_6a8f_fd6ad9b06590 -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced ccc4b464_81bf_f802_77b9_a16f0efc23cd["getPrivateKeyReturnsPrivateKey()"] ccc4b464_81bf_f802_77b9_a16f0efc23cd -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced f2af95cf_db3f_b715_6879_165bd0ec354e["loadWithStringWhenContentIsNullReturnsNull()"] f2af95cf_db3f_b715_6879_165bd0ec354e -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced c40330c0_5444_7bb7_8720_ac53114ac344["loadWithStringWhenContentIsPemContentReturnsContent()"] c40330c0_5444_7bb7_8720_ac53114ac344 -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 77256f69_9cbe_95e1_ea00_346d5379236a["loadWithStringWhenContentIsPemContentReturnsTrimmedContent()"] 77256f69_9cbe_95e1_ea00_346d5379236a -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 0224c909_ba04_daba_5b26_aa6cebcf6a22["loadWithStringWhenClasspathLocationReturnsContent()"] 0224c909_ba04_daba_5b26_aa6cebcf6a22 -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced 5e494ba7_b7ff_1e03_cf0e_a5f1cd839668["loadWithStringWhenFileLocationReturnsContent()"] 5e494ba7_b7ff_1e03_cf0e_a5f1cd839668 -->|calls| 12690030_33ae_7a5c_1c16_cca9534d2ced style 12690030_33ae_7a5c_1c16_cca9534d2ced fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/io/ApplicationResourceLoader.java lines 214–221
static ResourceLoader get(@Nullable ClassLoader classLoader, @Nullable Path workingDirectory) {
if (classLoader == null && workingDirectory != null) {
throw new IllegalArgumentException(
"It's not possible to use null as 'classLoader' but specify a 'workingDirectory'");
}
return (classLoader != null) ? new ApplicationFileSystemResourceLoader(classLoader, workingDirectory)
: ApplicationFileSystemResourceLoader.shared;
}
Domain
Subdomains
Calls
- ApplicationFileSystemResourceLoader()
- get()
Called By
- certificatesAreLoadedLazily()
- convert()
- encodeFileContent()
- get()
- getCertificateReturnsCertificates()
- getPrivateKeyReturnsPrivateKey()
- loadConfiguration()
- loadConfiguration()
- loadWithStringWhenClasspathLocationReturnsContent()
- loadWithStringWhenContentIsNullReturnsNull()
- loadWithStringWhenContentIsPemContentReturnsContent()
- loadWithStringWhenContentIsPemContentReturnsTrimmedContent()
- loadWithStringWhenFileLocationReturnsContent()
- privateKeyIsLoadedLazily()
- shouldThrowBundleContentNotWatchableExceptionIfContentIsNotWatchable()
- toWatchPathUsesResourceLoader()
- toWatchPathWhenNotPathThrowsException()
- toWatchPathWhenPathReturnsPath()
- withAliasIsLazy()
- withPasswordIsLazy()
Source
Frequently Asked Questions
What does get() do?
get() is a function in the spring-boot codebase.
What does get() call?
get() calls 2 function(s): ApplicationFileSystemResourceLoader, get.
What calls get()?
get() is called by 20 function(s): certificatesAreLoadedLazily, convert, encodeFileContent, get, getCertificateReturnsCertificates, getPrivateKeyReturnsPrivateKey, loadConfiguration, loadConfiguration, and 12 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free