| java.lang.Object com.flexive.core.JDK6Scripting
JDK6Scripting | public class JDK6Scripting (Code) | | Java 6 Scripting extensions for [fleXive]
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev |
getAvailableScriptEngines | public static List<String[]> getAvailableScriptEngines()(Code) | | Get a list of all available scripting engines
list of all available scripting engines, [0]=ext, [1]=description |
runScript | public static FxScriptResult runScript(String name, FxScriptBinding binding, String code) throws FxApplicationException(Code) | | Run a script.
This method is internal and intended to be exclusively called by the ScriptingEngine!
If its a groovy script (determined by extension "gy" or "groovy"), the native groovy shell is used, else
a scripting engine registered with the JDK is probed.
Parameters: name - name of the script - needed to determine language Parameters: binding - bindings Parameters: code - code to execute FxScriptResult throws: FxApplicationException - on errors |
|
|