Uses of Interface
org.mozilla.javascript.commonjs.module.ModuleScriptProvider
-
Packages that use ModuleScriptProvider Package Description org.mozilla.javascript.commonjs.module Provides the public API for the CommonJS Modules/1.1 implementation.org.mozilla.javascript.commonjs.module.provider Provides default implementations for module providers. -
-
Uses of ModuleScriptProvider in org.mozilla.javascript.commonjs.module
Fields in org.mozilla.javascript.commonjs.module declared as ModuleScriptProvider Modifier and Type Field Description private ModuleScriptProvider
Require. moduleScriptProvider
private ModuleScriptProvider
RequireBuilder. moduleScriptProvider
Methods in org.mozilla.javascript.commonjs.module with parameters of type ModuleScriptProvider Modifier and Type Method Description RequireBuilder
RequireBuilder. setModuleScriptProvider(ModuleScriptProvider moduleScriptProvider)
Sets theModuleScriptProvider
for theRequire
instances that this builder builds.Constructors in org.mozilla.javascript.commonjs.module with parameters of type ModuleScriptProvider Constructor Description Require(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
Classes in org.mozilla.javascript.commonjs.module.provider that implement ModuleScriptProvider Modifier and Type Class Description class
CachingModuleScriptProviderBase
Abstract base class that implements caching of loaded module scripts.class
MultiModuleScriptProvider
A multiplexer for module script providers.class
SoftCachingModuleScriptProvider
A module script provider that uses a module source provider to load modules and caches the loaded modules.class
StrongCachingModuleScriptProvider
A module script provider that uses a module source provider to load modules and caches the loaded modules.Fields in org.mozilla.javascript.commonjs.module.provider declared as ModuleScriptProvider Modifier and Type Field Description private ModuleScriptProvider[]
MultiModuleScriptProvider. providers
Constructor parameters in org.mozilla.javascript.commonjs.module.provider with type arguments of type ModuleScriptProvider Constructor Description MultiModuleScriptProvider(java.lang.Iterable<? extends ModuleScriptProvider> providers)
Creates a new multiplexing module script provider tht gathers the specified providers
-