public class JSR223ScriptDriver extends AbstractScriptDriver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCRIPT_LOGGER |
static MXLogger |
SCRIPTLOGGER |
Constructor and Description |
---|
JSR223ScriptDriver() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRun(java.lang.String scriptLang)
Verify if the driver can support script language
scriptLang |
static java.util.Map<java.lang.String,ScriptEngineInfo> |
getAllSupportedScriptEngines()
Get all supported Script Engines short (or) alias names
|
java.util.Map<java.lang.String,ScriptEngineInfo> |
getSupportedEngines() |
static ScriptEngineInfo |
getSupportedScriptEngineInfo(java.lang.String engShortName)
Get all supported Script Engines short (or) alias names
|
static java.util.Set<java.lang.String> |
getSupportedScriptEngineNames()
Get all supported Script Engines short (or) alias names
|
boolean |
isBinaryScript() |
java.util.List<ScriptParamInfo> |
parseScriptForParams(byte[] scriptBytes) |
boolean |
preCompileScript(ScriptInfo scriptInfo)
Precompiles the script
|
void |
releaseResources()
Call back method to release driver resources before the driver gets gced.
|
void |
releaseResources(java.lang.String scriptName)
Call back method to release driver resources before the driver gets gced.
|
allowImplicitParams, isParamErrorGroup, isParamErrorKey, isVarNameMatchesKeyWord, runScript, supportsPublishedParams
public static final java.lang.String SCRIPT_LOGGER
public static final MXLogger SCRIPTLOGGER
public static java.util.Set<java.lang.String> getSupportedScriptEngineNames()
public static java.util.Map<java.lang.String,ScriptEngineInfo> getAllSupportedScriptEngines()
public static ScriptEngineInfo getSupportedScriptEngineInfo(java.lang.String engShortName)
public boolean canRun(java.lang.String scriptLang)
ScriptDriver
scriptLang
scriptLang
- the script languagepublic void releaseResources()
ScriptDriver
public void releaseResources(java.lang.String scriptName)
ScriptDriver
public boolean preCompileScript(ScriptInfo scriptInfo) throws MXApplicationException
ScriptDriver
scriptInfo
- - the ScriptInfo object for the scriptMXApplicationException
public java.util.Map<java.lang.String,ScriptEngineInfo> getSupportedEngines()
public boolean isBinaryScript()
public java.util.List<ScriptParamInfo> parseScriptForParams(byte[] scriptBytes) throws MXException
MXException