java.lang.Object
swim.js.JsPlaneFactory
- All Implemented Interfaces:
PlaneFactory<JsPlane>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal UriPath
basePath()
protected org.graalvm.polyglot.Value
createGuestPlane
(PlaneContext planeContext, JsBridge jsBridge, JsModule planeModule) createPlane
(PlaneContext planeContext) protected JsBridge
createPlaneJsBridge
(PlaneContext planeContext, org.graalvm.polyglot.Context jsContext) protected org.graalvm.polyglot.Context
createPlaneJsContext
(PlaneContext planeContext) protected JsModuleSystem
createPlaneModuleSystem
(PlaneContext planeContext, org.graalvm.polyglot.Context jsContext, JsBridge jsBridge) final JsKernel
jsKernel()
final JsPlaneDef
planeDef()
protected JsModule
requirePlaneModule
(PlaneContext planeContext, JsModuleSystem moduleSystem)
-
Field Details
-
jsKernel
-
basePath
-
planeDef
-
-
Constructor Details
-
JsPlaneFactory
-
-
Method Details
-
jsKernel
-
basePath
-
planeDef
-
createPlaneJsContext
-
createPlaneJsBridge
protected JsBridge createPlaneJsBridge(PlaneContext planeContext, org.graalvm.polyglot.Context jsContext) -
createPlaneModuleSystem
protected JsModuleSystem createPlaneModuleSystem(PlaneContext planeContext, org.graalvm.polyglot.Context jsContext, JsBridge jsBridge) -
requirePlaneModule
-
createGuestPlane
protected org.graalvm.polyglot.Value createGuestPlane(PlaneContext planeContext, JsBridge jsBridge, JsModule planeModule) -
createPlane
- Specified by:
createPlane
in interfacePlaneFactory<JsPlane>
-