SCRIPT_OBJECT - public interface ScriptFactory<SCRIPT_OBJECT>
| Modifier and Type | Method and Description | 
|---|---|
| Object | executeMethod(SCRIPT_OBJECT scriptObject,
             String methodName,
             Object... args)Execute Native script by default given method Name | 
| Object | getScriptedObject(org.springframework.scripting.ScriptSource scriptSource,
                 File scriptFromFile,
                 Class[] actualInterfaces,
                 Map<String,Object> injectedParams)Loads and parses the script via the GroovyClassLoader. | 
Object getScriptedObject(org.springframework.scripting.ScriptSource scriptSource, File scriptFromFile, Class[] actualInterfaces, Map<String,Object> injectedParams) throws IOException, org.springframework.scripting.ScriptCompilationException
ScriptSource - scriptFromFile - as InputStream as the Script to be compiled - Can be from a File or ScriptSource.getScriptAsString()
 if not specified then ScriptSource.getScriptAsString() will be used. This is supplied as ScriptSource.getScriptAsString() may not execute from all types of ResourcesactualInterfaces - as Class[] @nullable trueinjectedParams - as Params to inject into the created script instance @nullable trueIOExceptionorg.springframework.scripting.ScriptCompilationExceptionCopyright © 2018. All rights reserved.