@UsesMappedConfiguration(value=JavaScriptModuleConfiguration.class) public interface ModuleManager
JavaScriptModuleConfiguration definitions for those module names.
 This is primarily used to wrap non-AMD compliant libraries for use with RequireJS (via contributed JavaScriptModuleConfigurations).ModuleConfigurationCallback, 
AMDWrapper| Modifier and Type | Method and Description | 
|---|---|
| Resource | findResourceForModule(java.lang.String moduleName)Given a module name (which may be a path of names separated by slashes), locates the corresponding  Resource. | 
| void | writeConfiguration(Element body,
                  java.util.List<ModuleConfigurationCallback> moduleConfigurationCallbacks)Invoked by the internal  DocumentLinkerservice to write the configuration
 for the module system into the page. | 
| void | writeInitialization(Element body,
                   java.util.List<java.lang.String> libraryURLs,
                   java.util.List<?> inits)Invoked by the internal  DocumentLinkerservice to write the initializations
 (as perJavaScriptSupport.require(String)into the page; this occurs after the module infrastructure
 has been written into the page, along with the core libraries. | 
void writeConfiguration(Element body, java.util.List<ModuleConfigurationCallback> moduleConfigurationCallbacks)
DocumentLinker service to write the configuration
 for the module system into the page.body - <body> element of the page, to which new <script> element(s) will be added.moduleConfigurationCallbacks - a list of ModuleConfigurationCallbacks, which
         is used to customize the configuration before it is written.void writeInitialization(Element body, java.util.List<java.lang.String> libraryURLs, java.util.List<?> inits)
DocumentLinker service to write the initializations
 (as per JavaScriptSupport.require(String) into the page; this occurs after the module infrastructure
 has been written into the page, along with the core libraries.body - <body> element of the page, to which new <script> element(s) will be added.libraryURLs - additional libraries that should be dynamically loaded before evaluating the initsinits - specify initialization on the page, based on loading modules, extacting functions from modules, and invoking those functionsResource findResourceForModule(java.lang.String moduleName)
Resource.
 First checks for contributed shim modules, then searches for possible matches among the
 defined library names.  As a special
 case, the folder name "app" is mapped to the application's package.moduleName - name of module to locate${project.version} - Copyright © 2003-2015 The Apache Software Foundation.