Uses of Interface
org.mozilla.javascript.commonjs.module.ModuleScriptProvider
Package
Description
Provides the public API for the CommonJS Modules/1.1 implementation.
Provides default implementations for module providers.
-
Uses of ModuleScriptProvider in org.mozilla.javascript.commonjs.module
Modifier and TypeMethodDescriptionRequireBuilder.setModuleScriptProvider
(ModuleScriptProvider moduleScriptProvider) Sets theModuleScriptProvider
for theRequire
instances that this builder builds.ModifierConstructorDescriptionRequire
(Context cx, Scriptable nativeScope, ModuleScriptProvider moduleScriptProvider, Script preExec, Script postExec, boolean sandboxed) Creates a new instance of the require() function. -
Uses of ModuleScriptProvider in org.mozilla.javascript.commonjs.module.provider
Modifier and TypeClassDescriptionclass
Abstract base class that implements caching of loaded module scripts.class
A multiplexer for module script providers.class
A module script provider that uses a module source provider to load modules and caches the loaded modules.class
A module script provider that uses a module source provider to load modules and caches the loaded modules.ModifierConstructorDescriptionMultiModuleScriptProvider
(Iterable<? extends ModuleScriptProvider> providers) Creates a new multiplexing module script provider tht gathers the specified providers