Class ScriptExecutionManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close​()
      Close underlying resources.
      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.