- All Known Implementing Classes:
ServiceLoaderinterface for finding
In non modular applications the Templates can be found using this interface and the
ServiceLoader mechanism through the
file as the code generator generates the services file. However in modular applications
this is not possible as the implementations are described in the module-info.java and
the code generator does not touch that.
Regardless of modular or not the generated META-INF/services also might give hints to Graal native compilation for reflective access to the templates.
provideTemplatesProvides a list of instantiated renderers.
templateConfig- template collaborators.
- a list of renderers. An empty list would mean none were found.
provideTemplatesProvides templates with empty config.
- a list of templates. An empty list would mean none were fond.