Uses of Interface
io.jstach.jstachio.spi.JStachioTemplateFinder
Package
Description
JStachio Service Provider extension points API.
JStachio Spring Core Integration
Spring Boot Webmvc starter
Spring Boot MVC application using JStachio.
-
Uses of JStachioTemplateFinder in io.jstach.jstachio.spi
Modifier and TypeInterfaceDescriptionstatic interface
An easier to implement template finder based on a sequence of templates.static interface
Generated template providers implement this interface to support easier ServiceLoader registration for modular libraries/applications.Modifier and TypeMethodDescriptionstatic JStachioTemplateFinder
JStachioTemplateFinder.cachedTemplateFinder
(JStachioTemplateFinder finder) Decorates a template finder with a cache usingClassValue
with the modelType as the key.static JStachioTemplateFinder
JStachioTemplateFinder.defaultTemplateFinder
(JStachioConfig config) The default template finder that uses reflection and or the ServiceLoader.JStachioExtensions.getTemplateFinder()
Composite Template finder where the first template finder that finds a template is used.static JStachioTemplateFinder
JStachioTemplateFinder.of
(Iterable<? extends TemplateInfo> templates, int order) Creates a template finder from an iterable of templates.static JStachioTemplateFinder
JStachioTemplateFinder.of
(List<? extends JStachioTemplateFinder> templateFinders) Creates a composite template finder from a list.default @Nullable JStachioTemplateFinder
JStachioExtensionProvider.provideTemplateFinder()
Provide a template finder or not.Modifier and TypeMethodDescriptionstatic JStachioTemplateFinder
JStachioTemplateFinder.cachedTemplateFinder
(JStachioTemplateFinder finder) Decorates a template finder with a cache usingClassValue
with the modelType as the key.Modifier and TypeMethodDescriptionstatic JStachioTemplateFinder
JStachioTemplateFinder.of
(List<? extends JStachioTemplateFinder> templateFinders) Creates a composite template finder from a list. -
Uses of JStachioTemplateFinder in io.jstach.opt.spring
Modifier and TypeMethodDescriptionSpringJStachioExtension.provideTemplateFinder()
Provide a template finder or not.ModifierConstructorDescriptionSpringJStachioExtension
(JStachioConfig config, JStachioTemplateFinder templateFinder) Constructor for injection -
Uses of JStachioTemplateFinder in io.jstach.opt.spring.boot.webmvc
Modifier and TypeMethodDescriptionJStachioConfiguration.templateFinder
(JStachioConfig config, TemplateConfig templateConfig) Resolve template finder configsModifier and TypeMethodDescriptionJStachioConfiguration.springJStachioExtension
(JStachioConfig config, JStachioTemplateFinder templateFinder) Creates a services based on spring objects. -
Uses of JStachioTemplateFinder in io.jstach.opt.spring.example