public class ProxyJavaScriptExecutor extends JavaScriptExecutor
When set as a executor with CatalystInstance.Builder, catalyst native code will
delegate low level javascript calls to the implementation of JavaJSExecutor interface
provided with the constructor of this class.
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyJavaScriptExecutor.Factory |
| Constructor and Description |
|---|
ProxyJavaScriptExecutor(JavaJSExecutor executor)
Create
ProxyJavaScriptExecutor instance |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this executor and cleanup any resources that it was using.
|
java.lang.String |
getName()
Returns the name of the executor, identifying the underlying runtime.
|
public ProxyJavaScriptExecutor(JavaJSExecutor executor)
ProxyJavaScriptExecutor instanceexecutor - implementation of JavaJSExecutor which will be responsible for handling
javascript callspublic void close()
JavaScriptExecutorclose in class JavaScriptExecutorpublic java.lang.String getName()
JavaScriptExecutorgetName in class JavaScriptExecutor