public class ScriptDriverFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ScriptEngineInfo> |
getAllSupportedEngines() |
static ScriptDriverFactory |
getInstance() |
ScriptDriver |
getScriptDriver(ScriptInfo scriptInfo) |
ScriptDriver |
getScriptDriver(java.lang.String scriptName) |
ScriptDriver |
getScriptDriverForLanguage(java.lang.String scriptLang) |
void |
releaseDriverResources() |
void |
releaseDriverResources(java.lang.String scriptName) |
public java.util.Map<java.lang.String,ScriptEngineInfo> getAllSupportedEngines()
public static final ScriptDriverFactory getInstance()
public ScriptDriver getScriptDriver(java.lang.String scriptName) throws MXException
scriptName
- - theMXException
public ScriptDriver getScriptDriverForLanguage(java.lang.String scriptLang) throws MXException
MXException
public ScriptDriver getScriptDriver(ScriptInfo scriptInfo) throws MXException
scriptInfo
- - the ScriptInfo object for the scriptMXException
public void releaseDriverResources()
public void releaseDriverResources(java.lang.String scriptName)