public class Runtime extends jjbridge.api.runtime.JSBaseRuntime<Reference>
JSRuntime using V8 runtime.| Constructor and Description |
|---|
Runtime(V8 v8,
long runtimeHandle,
ReferenceMonitor<Reference> referenceMonitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Reference |
createNewReference(jjbridge.api.value.JSType type) |
boolean |
equals(Object obj) |
protected jjbridge.api.value.JSObject<Reference> |
getGlobalObject() |
long |
getNativeHandle() |
int |
hashCode() |
protected <T extends jjbridge.api.value.JSValue> |
resolve(Reference reference,
jjbridge.api.value.JSType asType) |
protected Reference |
runScript(String name,
String script) |
public Runtime(V8 v8, long runtimeHandle, ReferenceMonitor<Reference> referenceMonitor)
public long getNativeHandle()
protected jjbridge.api.value.JSObject<Reference> getGlobalObject()
getGlobalObject in class jjbridge.api.runtime.JSBaseRuntime<Reference>protected <T extends jjbridge.api.value.JSValue> T resolve(Reference reference, jjbridge.api.value.JSType asType)
resolve in class jjbridge.api.runtime.JSBaseRuntime<Reference>protected Reference createNewReference(jjbridge.api.value.JSType type)
createNewReference in class jjbridge.api.runtime.JSBaseRuntime<Reference>protected Reference runScript(String name, String script)
runScript in class jjbridge.api.runtime.JSBaseRuntime<Reference>public void close()
close in interface AutoCloseableclose in class jjbridge.api.runtime.JSBaseRuntime<Reference>Copyright © 2020. All rights reserved.