- java.lang.Object
-
- swim.vm.js.JsCachedModuleResolver
-
- All Implemented Interfaces:
JsModuleResolver
public class JsCachedModuleResolver extends Object implements JsModuleResolver
-
-
Constructor Summary
Constructors Constructor Description JsCachedModuleResolver(JsModuleResolver moduleResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.graalvm.polyglot.Source
loadModuleSource(UriPath moduleId)
JsModuleResolver
moduleResolver()
UriPath
resolveModulePath(UriPath basePath, UriPath modulePath)
-
-
-
Constructor Detail
-
JsCachedModuleResolver
public JsCachedModuleResolver(JsModuleResolver moduleResolver)
-
-
Method Detail
-
moduleResolver
public final JsModuleResolver moduleResolver()
-
resolveModulePath
public UriPath resolveModulePath(UriPath basePath, UriPath modulePath)
- Specified by:
resolveModulePath
in interfaceJsModuleResolver
-
loadModuleSource
public org.graalvm.polyglot.Source loadModuleSource(UriPath moduleId)
- Specified by:
loadModuleSource
in interfaceJsModuleResolver
-
-