Interface IScriptEngineExecutor
- All Superinterfaces:
IEngineExecutor
- All Known Implementing Classes:
AbstractScriptExecutor
public interface IScriptEngineExecutor extends IEngineExecutor
The Script Engine Executor interface.
-
Method Summary
Modifier and Type Method Description ObjectexecuteServiceCode(String code, Map<Object,Object> executionContext)Execute service code.ObjectexecuteServiceModule(String module, Map<Object,Object> executionContext)Execute service module.booleanexistsModule(String root, String module)Exists module.booleanexistsModule(String root, String module, String extension)Exists module.ModuleretrieveModule(String root, String module)Retrieve module.ModuleretrieveModule(String root, String module, String extension)Retrieve module.
-
Method Details
-
retrieveModule
Retrieve module.- Parameters:
root- the rootmodule- the module- Returns:
- the module
- Throws:
RepositoryException- the repository exception
-
retrieveModule
Retrieve module.- Parameters:
root- the rootmodule- the moduleextension- the extension- Returns:
- the module
- Throws:
RepositoryException- the repository exception
-
existsModule
Exists module.- Parameters:
root- the rootmodule- the module- Returns:
- the exists
- Throws:
RepositoryException- the repository exception
-
existsModule
Exists module.- Parameters:
root- the rootmodule- the moduleextension- the extension- Returns:
- the exists
- Throws:
RepositoryException- the repository exception
-
executeServiceModule
Object executeServiceModule(String module, Map<Object,Object> executionContext) throws ScriptingExceptionExecute service module.- Parameters:
module- the moduleexecutionContext- the execution context- Returns:
- the object
- Throws:
ScriptingException- the scripting exception
-
executeServiceCode
Object executeServiceCode(String code, Map<Object,Object> executionContext) throws ScriptingExceptionExecute service code.- Parameters:
code- the codeexecutionContext- the execution context- Returns:
- the object
- Throws:
ScriptingException- the scripting exception
-