- API Note
- Although this is an extension it is not designed to be loaded by the
provideConfigProvide a config or not. The final config is a composite of all the found configs.
Specifically if multiple instances of
JStachioExtensionare found that return a nonnull they will be combined by looping through all of them to find a nonnull value for
JStachioConfig.getProperty(String). If no configs are provided or no services found
JStachioExtensionsinstance will use the default config which uses
System.getProperties(). The config comes from Spring
provideTemplateFinderProvide a template finder or not. The final template finder is a composite of all the other ones found. See
JStachioTemplateFinder.order()for ordering details.
If no template finders are provided then the default template finder that uses reflection and the ServiceLoader is used. The provided template finder instead of using reflection delegates to the templates wired in via spring.