Interface ScriptEngineManager
-
- All Known Implementing Classes:
ScriptEngineManagerImpl
public interface ScriptEngineManager
Holds theGroovyScriptEngine
instances for all sites- Since:
- 4.0
- Author:
- joseross
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description groovy.util.GroovyScriptEngine
getScriptEngine(String siteId)
Returns theGroovyScriptEngine
for the given site, if it doesn't exist then a new one is createdvoid
reloadScriptEngine(String siteId)
Creates a newGroovyScriptEngine
for the given site
-
-
-
Method Detail
-
getScriptEngine
groovy.util.GroovyScriptEngine getScriptEngine(String siteId)
Returns theGroovyScriptEngine
for the given site, if it doesn't exist then a new one is created- Parameters:
siteId
- the id fo the site- Returns:
- the script engine instance
-
reloadScriptEngine
void reloadScriptEngine(String siteId)
Creates a newGroovyScriptEngine
for the given site- Parameters:
siteId
- the id of the site
-
-