OverviewApache Commons JEXL includes JSR-223 (javax.script) support. The binary jar includes the scripting factory and the services definition javax.script.ScriptEngineFactory, so no special configuration is needed. Script engine supportThe provided script engine implements the following (engineVersion="1.0"):
Using the JSR-223 JEXL test applicationThe binary release includes a command-line application which can be used to exercise the JSR-223 script engine. For example:
If a single argument is provided, then that is assumed to be the name of a script file;
otherwise, the application prompts for script input to be evaluated.
In both cases, the variable "args" contains the command-line arguments.
JSR-223 support classesThe classes used to support JSR-223 scripting access are:
|