isTemplateAvailable() — spring-boot Function Reference
Architecture documentation for the isTemplateAvailable() function in PathBasedTemplateAvailabilityProvider.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 45faff17_f288_41e5_fae3_bdbd15fcefc2["isTemplateAvailable()"] c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] 45faff17_f288_41e5_fae3_bdbd15fcefc2 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 204e3893_56df_fd2d_7084_1ca7681e657c["bindOrCreate()"] 45faff17_f288_41e5_fae3_bdbd15fcefc2 -->|calls| 204e3893_56df_fd2d_7084_1ca7681e657c c6628568_c8c9_f059_4cf7_29f712160ad7["getPrefix()"] 45faff17_f288_41e5_fae3_bdbd15fcefc2 -->|calls| c6628568_c8c9_f059_4cf7_29f712160ad7 200909f7_3793_7d49_7e76_a3b5432824f3["getSuffix()"] 45faff17_f288_41e5_fae3_bdbd15fcefc2 -->|calls| 200909f7_3793_7d49_7e76_a3b5432824f3 fb75be08_5c64_fb79_54fc_b67a5f039b29["getLoaderPath()"] 45faff17_f288_41e5_fae3_bdbd15fcefc2 -->|calls| fb75be08_5c64_fb79_54fc_b67a5f039b29 style 45faff17_f288_41e5_fae3_bdbd15fcefc2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/template/PathBasedTemplateAvailabilityProvider.java lines 51–60
@Override
public boolean isTemplateAvailable(String view, Environment environment, ClassLoader classLoader,
ResourceLoader resourceLoader) {
if (ClassUtils.isPresent(this.className, classLoader)) {
Binder binder = Binder.get(environment);
TemplateAvailabilityProperties properties = binder.bindOrCreate(this.propertyPrefix, this.propertiesClass);
return isTemplateAvailable(view, resourceLoader, properties);
}
return false;
}
Domain
Subdomains
Calls
- bindOrCreate()
- get()
- getLoaderPath()
- getPrefix()
- getSuffix()
Source
Frequently Asked Questions
What does isTemplateAvailable() do?
isTemplateAvailable() is a function in the spring-boot codebase.
What does isTemplateAvailable() call?
isTemplateAvailable() calls 5 function(s): bindOrCreate, get, getLoaderPath, getPrefix, getSuffix.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free