getSharedInstance() — spring-boot Function Reference
Architecture documentation for the getSharedInstance() function in ApplicationConversionService.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c["getSharedInstance()"] 51975cc9_d998_ec01_7aca_e22e5c8514df["getConversionServices()"] 51975cc9_d998_ec01_7aca_e22e5c8514df -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c 3595b7c7_fd81_86e3_8dc6_62a8d9071b4f["getSharedInstance()"] 3595b7c7_fd81_86e3_8dc6_62a8d9071b4f -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c 2808073e_46f5_3947_adf5_a15d1738dfbd["loadWhenBindingWithCustomConverterAndObjectToObjectMethod()"] 2808073e_46f5_3947_adf5_a15d1738dfbd -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c 573db2d2_77ee_0724_75f0_736b32ee2b50["getConversionServiceWhenHasQualifiedConverterBeansContainsCustomizedFormattingService()"] 573db2d2_77ee_0724_75f0_736b32ee2b50 -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c 2de102d0_7525_3cfd_ecdd_c50403adece1["getConversionServiceWhenHasQualifiedConverterLambdaBeansContainsCustomizedFormattingService()"] 2de102d0_7525_3cfd_ecdd_c50403adece1 -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c fc26a59e_7740_e0c5_e35a_12c5cce3b0f8["getPropertyViaEnvironmentSupportsConversion()"] fc26a59e_7740_e0c5_e35a_12c5cce3b0f8 -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c d0fea984_2e33_857e_bd2a_fd73347b655c["captureSystemPropertyNames()"] d0fea984_2e33_857e_bd2a_fd73347b655c -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c dc33459c_3010_a533_be79_c789260d731a["setup()"] dc33459c_3010_a533_be79_c789260d731a -->|calls| ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c c99a7694_2bf1_0f81_8483_d81c9a5c7092["ApplicationConversionService()"] ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c -->|calls| c99a7694_2bf1_0f81_8483_d81c9a5c7092 style ceb0c1b2_caf2_c9b2_e27f_70b95f8bfc7c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/convert/ApplicationConversionService.java lines 202–214
public static ConversionService getSharedInstance() {
ApplicationConversionService sharedInstance = ApplicationConversionService.sharedInstance;
if (sharedInstance == null) {
synchronized (ApplicationConversionService.class) {
sharedInstance = ApplicationConversionService.sharedInstance;
if (sharedInstance == null) {
sharedInstance = new ApplicationConversionService(null, true);
ApplicationConversionService.sharedInstance = sharedInstance;
}
}
}
return sharedInstance;
}
Domain
Subdomains
Called By
- captureSystemPropertyNames()
- getConversionServiceWhenHasQualifiedConverterBeansContainsCustomizedFormattingService()
- getConversionServiceWhenHasQualifiedConverterLambdaBeansContainsCustomizedFormattingService()
- getConversionServices()
- getPropertyViaEnvironmentSupportsConversion()
- getSharedInstance()
- loadWhenBindingWithCustomConverterAndObjectToObjectMethod()
- setup()
Source
Frequently Asked Questions
What does getSharedInstance() do?
getSharedInstance() is a function in the spring-boot codebase.
What does getSharedInstance() call?
getSharedInstance() calls 1 function(s): ApplicationConversionService.
What calls getSharedInstance()?
getSharedInstance() is called by 8 function(s): captureSystemPropertyNames, getConversionServiceWhenHasQualifiedConverterBeansContainsCustomizedFormattingService, getConversionServiceWhenHasQualifiedConverterLambdaBeansContainsCustomizedFormattingService, getConversionServices, getPropertyViaEnvironmentSupportsConversion, getSharedInstance, loadWhenBindingWithCustomConverterAndObjectToObjectMethod, setup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free