public Object executeScript(final Script script,final ScriptContext context){
  final ScriptEngine engine=scriptEngineProvider.getScriptEngine(script.getType());
  return executeScript(script,engine,context);
}

public Object executeScript ( final Script script , final ScriptContext context ) { final ScriptEngine engine = scriptEngineProvider . getScriptEngine ( script . getType ( ) ) ; return executeScript ( script , engine , context ) ; }
executes the given script with context as the scriptcontext . the values in the context are available as variables in the script . the names of these variables will be the attributes in the context .
