Class ScriptExecutionManager



  • @API(status=INTERNAL,
         since="5.1")
    public class ScriptExecutionManager
    extends java.lang.Object
    Entry point for script execution support.
    Since:
    5.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(Script script, javax.script.Bindings bindings)
      Evaluate the script using the given bindings.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptExecutionManager

        public ScriptExecutionManager​()
    • Method Detail

      • evaluate

        public java.lang.Object evaluate​(Script script,
                                         javax.script.Bindings bindings)
                                  throws javax.script.ScriptException
        Evaluate the script using the given bindings.
        Parameters:
        script - the script to evaluate
        bindings - the context-aware bindings
        Returns:
        the result object
        Throws:
        javax.script.ScriptException - if an error occurs in script.