Module io.jstach.jstachio
Package io.jstach.jstachio.spi
@NonNullByDefault
package io.jstach.jstachio.spi
JStachio Service Provider extension points API.
The runtime uses the ServiceLoader
as well as other reflection
mechanisms to allow loading of extensions.
-
ClassDescriptionAn abstract jstachio that just needs a
JStachioExtensions
container.Runtime Config Service.An SPI extension point via theServiceLoader
or other mechanisms like DI.An extension that is a factory that provides other extensions.A container that will hold all resolvedJStachioExtension
s and consolidate them to a single instances of various services.A marker interface used for JStachio implementations that provide access to extensions.Creates JStachios mainly with theServiceLoader
or aJStachioFactory.Builder
.Builder for creating a custom JStachio.Advises, intercepts or filters a template before being rendered.A fully composed chain that renders a model by applying filtering.Finds templates based on the model type (class).An easier to implement template finder based on a sequence of templates.AServiceLoader
interface for findingTemplate
s.Generated template providers implement this interface to support easier ServiceLoader registration for modular libraries/applications.Locates generated templates by their model via reflection.ResolvedJStachePath
config by replacingJStachePath.UNSPECIFIED
with default values.Strategy to load templates dynamically.