Uses of Interface
io.jstach.jstachio.spi.JStachioConfig
Packages that use 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
Methods in io.jstach.jstachio.spi that return JStachioConfigModifier 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.Methods in io.jstach.jstachio.spi with parameters of type JStachioConfigModifier 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
Methods in io.jstach.opt.jmustache with parameters of type JStachioConfig -
Uses of JStachioConfig in io.jstach.opt.spring
Methods in io.jstach.opt.spring that return JStachioConfigModifier and TypeMethodDescriptionstatic JStachioConfig
SpringJStachioExtension.config
(PropertyResolver propertyResolver) Creates a JStachio config from a property resolver (usuallyEnvironment
).SpringJStachioExtension.provideConfig()
Provide a config or not.Constructors in io.jstach.opt.spring with parameters of type JStachioConfigModifierConstructorDescriptionSpringJStachioExtension
(JStachioConfig config, JStachioTemplateFinder templateFinder) Constructor for injection -
Uses of JStachioConfig in io.jstach.opt.spring.boot.webmvc
Methods in io.jstach.opt.spring.boot.webmvc that return JStachioConfigModifier and TypeMethodDescriptionJStachioConfiguration.config
(Environment environment) Resolve config from spring environmentMethods in io.jstach.opt.spring.boot.webmvc with parameters of type JStachioConfigModifier and TypeMethodDescriptionJStachioConfiguration.springJStachioExtension
(JStachioConfig config, JStachioTemplateFinder templateFinder) Creates a services based on spring objects.JStachioConfiguration.templateFinder
(JStachioConfig config, TemplateConfig templateConfig) Resolve template finder configs