Interface DynamicAssetsLoader
- All Known Implementing Classes:
AbstractResourceBasedDynamicAssetsLoader
,ClassLoaderDynamicAssetsLoader
,FilesystemDynamicAssetsLoader
,ResourceDynamicAssetsLoader
public interface DynamicAssetsLoader
Allows to load to compile resources based on descriptor file provided by frontend packager like Webpack.
This tool is extremely useful for loading resources that don't have static names. For example resources generated
with webpack. Tool make possible to read path to single resources as well as "entrypoint" - set of resources that
execute themselves and don't need external invoker.
Usually it is used in background by thymeleaf for templates like:
<html xmlns:dynamicassets="http://rarogsoftware.eu/schemas/dynamicassets.xsd">Example <dynamicassets:loadcss entrypoint="pluginkey|namespace|entrypointName"/> <dynamicassets:loadjs entrypoint="pluginkey|namespace|entrypointName"/>