@UsesOrderedConfiguration(value=StackExtension.class) public class ExtensibleJavaScriptStack extends java.lang.Object implements JavaScriptStack
JavaScriptStack that can be used as the implementation of a service.
 The contributions to the service are used to supply the libraries, stylesheets, and initialization for a
 JavaScriptStack, allowing the stack to be more dynamically configured. In practice, one will use
 ServiceBinder.bind(Class, Class) and ServiceBindingOptions.withMarker(Class...) to construct the
 service, then use the marker annotation to inject the service when contributing the service into to the
 JavaScriptStackSource.
 A limitation of this implementation is that the contributed assets are not localized at all.StackExtension| Constructor and Description | 
|---|
| ExtensibleJavaScriptStack(AssetSource assetSource,
                         java.util.List<StackExtension> configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getInitialization()Returns static JavaScript initialization for the stack. | 
| JavaScriptAggregationStrategy | getJavaScriptAggregationStrategy()Identifies how to aggregate JavaScript within the stack. | 
| java.util.List<Asset> | getJavaScriptLibraries()Returns a list of localized assets for JavaScript libraries that form the stack. | 
| java.util.List<java.lang.String> | getModules()Returns a list of modules to include with the stack, when aggregating the stack's JavaScript. | 
| java.util.List<java.lang.String> | getStacks()Returns a list of JavaScriptStack names that this stack depends on. | 
| java.util.List<StylesheetLink> | getStylesheets()Returns a list of localized links for stylesheets that form the stack. | 
public ExtensibleJavaScriptStack(AssetSource assetSource, java.util.List<StackExtension> configuration)
public java.util.List<java.lang.String> getStacks()
JavaScriptStackgetStacks in interface JavaScriptStackpublic java.util.List<Asset> getJavaScriptLibraries()
JavaScriptStackgetJavaScriptLibraries in interface JavaScriptStackpublic java.util.List<StylesheetLink> getStylesheets()
JavaScriptStackgetStylesheets in interface JavaScriptStackpublic java.lang.String getInitialization()
JavaScriptStackgetInitialization in interface JavaScriptStackpublic java.util.List<java.lang.String> getModules()
JavaScriptStackgetModules in interface JavaScriptStackModuleManager, 
SymbolConstants.COMBINE_SCRIPTSpublic JavaScriptAggregationStrategy getJavaScriptAggregationStrategy()
JavaScriptStackJavaScriptAggregationStrategy.COMBINE_AND_MINIMIZE.getJavaScriptAggregationStrategy in interface JavaScriptStack${project.version} - Copyright © 2003-2015 The Apache Software Foundation.