Package org.webharvest.runtime.scripting
Interface ScriptEngineFactory
-
- All Known Implementing Classes:
JSRScriptEngineFactory
public interface ScriptEngineFactory
Factory creatingScriptEngine
instances capable of executing providedScriptSource
. Along withScriptEngine
interface provides abstraction over scripting engine implementations.- Since:
- 2.1.0-SNAPSHOT
- Version:
- %I%, %G%
- Author:
- Piotr Dyraga
- See Also:
ScriptEngine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScriptEngine
getEngine(ScriptSource scriptSource)
ReturnsScriptEngine
capable of executing providedScriptSource
.
-
-
-
Method Detail
-
getEngine
ScriptEngine getEngine(ScriptSource scriptSource)
ReturnsScriptEngine
capable of executing providedScriptSource
.- Parameters:
scriptSource
- notnull
ScriptSource for whichScriptEngine
will be returned- Returns:
ScriptEngine
capable of executing providedScriptSource
.
-
-