java.lang.Object
swim.dynamic.JavaHostRuntime
swim.vm.js.JsHostRuntime
- All Implemented Interfaces:
HostRuntime
,JsRuntime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHostModule
(String moduleId, HostLibrary hostLibrary) void
addHostModule
(UriPath moduleId, HostLibrary hostLibrary) final HostLibrary
getHostModule
(UriPath moduleId) final Map<UriPath,
HostLibrary> final JsModuleResolver
void
setModuleResolver
(JsModuleResolver moduleResolver) Methods inherited from class swim.dynamic.JavaHostRuntime
addHostLibrary, addHostPackage, addHostType, getHostLibrary, getHostPackage, getHostType, hostLibraries, hostPackages, hostTypes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface swim.dynamic.HostRuntime
getHostLibrary, getHostPackage, getHostType, hostLibraries, hostPackages, hostTypes
-
Constructor Details
-
JsHostRuntime
-
JsHostRuntime
public JsHostRuntime()
-
-
Method Details
-
moduleResolver
- Specified by:
moduleResolver
in interfaceJsRuntime
-
setModuleResolver
- Specified by:
setModuleResolver
in interfaceJsRuntime
-
getHostModule
- Specified by:
getHostModule
in interfaceJsRuntime
-
hostModules
- Specified by:
hostModules
in interfaceJsRuntime
-
addHostModule
-
addHostModule
-