Uses of Interface
io.jstach.jstachio.spi.JStachioExtension
Packages that use JStachioExtension
-
Uses of JStachioExtension in io.jstach.jstachio.spi
Subinterfaces of JStachioExtension in io.jstach.jstachio.spiModifier and TypeInterfaceDescriptioninterfaceRuntime Config Service.interfaceAn extension that is a factory that provides other extensions.interfaceAdvises, intercepts or filters a template before being rendered.interfaceFinds templates based on the model type (class).static interfaceAn easier to implement template finder based on a sequence of templates.static interfaceGenerated template providers implement this interface to support easier ServiceLoader registration for modular libraries/applications.Methods in io.jstach.jstachio.spi with type parameters of type JStachioExtensionModifier and TypeMethodDescriptiondefault <T extends JStachioExtension>
Optional<T>JStachioExtensions.findExtension(Class<T> c) Finds a specific implementation usingClass.isAssignableFrom(Class).Methods in io.jstach.jstachio.spi that return types with arguments of type JStachioExtensionModifier and TypeMethodDescriptionJStachioExtensions.getExtensions()The orignal contained extensions excluding the composites.Methods in io.jstach.jstachio.spi with parameters of type JStachioExtensionModifier and TypeMethodDescriptionJStachioFactory.Builder.add(JStachioExtension extension) Adds an extensionstatic JStachioExtensionProviderJStachioExtensionProvider.of(JStachioExtension extension) Creates a provider from an extension.Method parameters in io.jstach.jstachio.spi with type arguments of type JStachioExtensionModifier and TypeMethodDescriptionJStachioFactory.Builder.add(Iterable<? extends JStachioExtension> extensions) Add extensions.static JStachioExtensionsJStachioExtensions.of(Iterable<? extends JStachioExtension> extensions) Resolve from an iterable of extensions that usually come from some discovery mechanism like theServiceLoaderor a DI framework.static JStachioExtensionsJStachioExtensions.of(Stream<? extends JStachioExtension> extensions) Resolve from a stream of extensions that usually come from some discovery mechanism like theServiceLoaderor a DI framework.