Class JavaScriptStackAssemblerImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.assets.JavaScriptStackAssemblerImpl
-
- All Implemented Interfaces:
JavaScriptStackAssembler
public class JavaScriptStackAssemblerImpl extends java.lang.Object implements JavaScriptStackAssembler
-
-
Constructor Summary
Constructors Constructor Description JavaScriptStackAssemblerImpl(ThreadLocale threadLocale, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, JavaScriptStackSource stackSource, AssetChecksumGenerator checksumGenerator, ModuleManager moduleManager, ResourceMinimizer resourceMinimizer, boolean minificationEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamableResource
assembleJavaScriptResourceForStack(java.lang.String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy)
Obtains theJavaScriptStack
by name, and then uses theStreamableResourceSource
service to obtain the assets, which are combined together.
-
-
-
Constructor Detail
-
JavaScriptStackAssemblerImpl
public JavaScriptStackAssemblerImpl(ThreadLocale threadLocale, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, JavaScriptStackSource stackSource, AssetChecksumGenerator checksumGenerator, ModuleManager moduleManager, ResourceMinimizer resourceMinimizer, @Symbol("tapestry.enable-minification") boolean minificationEnabled)
-
-
Method Detail
-
assembleJavaScriptResourceForStack
public StreamableResource assembleJavaScriptResourceForStack(java.lang.String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy) throws java.io.IOException
Description copied from interface:JavaScriptStackAssembler
Obtains theJavaScriptStack
by name, and then uses theStreamableResourceSource
service to obtain the assets, which are combined together. Expects the non-persistent locale to be set before invoking!- Specified by:
assembleJavaScriptResourceForStack
in interfaceJavaScriptStackAssembler
- Throws:
java.io.IOException
-
-