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
JStachioExtensionscontainer.Runtime Config Service.An SPI extension point via theServiceLoaderor other mechanisms like DI.An extension that is a factory that provides other extensions.A container that will hold all resolvedJStachioExtensions 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 theServiceLoaderor 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.AServiceLoaderinterface for findingTemplates.Generated template providers implement this interface to support easier ServiceLoader registration for modular libraries/applications.Locates generated templates by their model via reflection.ResolvedJStachePathconfig by replacingJStachePath.UNSPECIFIEDwith default values.Strategy to load templates dynamically.