public class DefaultJavascriptEngineExecutor extends AbstractJavascriptExecutor implements IJavascriptEngineExecutor
| Modifier and Type | Field and Description |
|---|---|
static String |
ENGINE_NAME |
MODULE_EXT_JS, MODULE_EXT_NASHORN, MODULE_EXT_RHINO, MODULE_EXT_V8CONSOLE, CONTEXT, DIRIGIBLE_JAVASCRIPT_DEBUG_ENABLED, DIRIGIBLE_JAVASCRIPT_ENGINE_TYPE_DEFAULT, DIRIGIBLE_JAVASCRIPT_ENGINE_TYPE_HEADER, JAVASCRIPT_ENGINE_TYPE, JAVASCRIPT_TYPE_DEFAULT, JAVASCRIPT_TYPE_NASHORN, JAVASCRIPT_TYPE_RHINO, JAVASCRIPT_TYPE_V8| Constructor and Description |
|---|
DefaultJavascriptEngineExecutor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeServiceCode(String code,
Map<Object,Object> executionContext) |
Object |
executeServiceModule(String module,
Map<Object,Object> executionContext) |
String |
getName() |
String |
getType() |
forceFlushgenerateResourcePath, getResourcePath, retrieveModule, retrieveModulecreateResourcePath, createResourcePath, existResource, existResource, getCollection, getRepository, getResource, getResource, getResourceContent, getResourceContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretrieveModule, retrieveModulepublic static final String ENGINE_NAME
public String getType()
getType in interface IEngineExecutorpublic String getName()
getName in interface IEngineExecutorpublic Object executeServiceModule(String module, Map<Object,Object> executionContext) throws ScriptingException
executeServiceModule in interface IScriptEngineExecutorexecuteServiceModule in interface IJavascriptEngineExecutorScriptingExceptionpublic Object executeServiceCode(String code, Map<Object,Object> executionContext) throws ScriptingException
executeServiceCode in interface IScriptEngineExecutorScriptingExceptionCopyright © 2010–2018 Eclipse Foundation. All rights reserved.