Uses of Interface
io.jstach.jstachio.spi.JStachioConfig
Package
Description
JStachio Service Provider extension points API.
JMustache extension to JStachio to enable dynamic development of templates.
JStachio Spring Core Integration
Spring Boot Webmvc starter
-
Uses of JStachioConfig in io.jstach.jstachio.spi
Modifier and TypeMethodDescriptionJStachioExtensions.getConfig()
Composite Config where the first config that returns a nonnull forgetProperty(String)
is used.default @Nullable JStachioConfig
JStachioExtensionProvider.provideConfig()
Provide a config or not.Modifier and TypeMethodDescriptionstatic JStachioTemplateFinder
JStachioTemplateFinder.defaultTemplateFinder
(JStachioConfig config) The default template finder that uses reflection and or the ServiceLoader.static TemplateInfo
Templates.findTemplate
(Class<?> modelType, JStachioConfig config) Finds aTemplate
if possible otherwise falling back to aTemplateInfo
based on annotation metadata.static @Nullable TemplateInfo
Templates.findTemplateOrNull
(Class<?> modelType, JStachioConfig config) Finds aTemplate
if possible otherwise falling back to aTemplateInfo
based on annotation metadata.default void
JStachioExtensionProvider.init
(JStachioConfig config) Called before the extensions are used but afterJStachioExtensionProvider.provideConfig()
.protected abstract boolean
Templates.TemplateLoadStrategy.isEnabled
(JStachioConfig config) Determine if the strategy is enabled. -
Uses of JStachioConfig in io.jstach.opt.jmustache
-
Uses of JStachioConfig in io.jstach.opt.spring
Modifier and TypeMethodDescriptionstatic JStachioConfig
SpringJStachioExtension.config
(PropertyResolver propertyResolver) Creates a JStachio config from a property resolver (usuallyEnvironment
).SpringJStachioExtension.provideConfig()
Provide a config or not.ModifierConstructorDescriptionSpringJStachioExtension
(JStachioConfig config, JStachioTemplateFinder templateFinder) Constructor for injection -
Uses of JStachioConfig in io.jstach.opt.spring.boot.webmvc
Modifier and TypeMethodDescriptionJStachioConfiguration.config
(Environment environment) Resolve config from spring environmentModifier and TypeMethodDescriptionJStachioConfiguration.springJStachioExtension
(JStachioConfig config, JStachioTemplateFinder templateFinder) Creates a services based on spring objects.JStachioConfiguration.templateFinder
(JStachioConfig config, TemplateConfig templateConfig) Resolve template finder configs