Class ScriptExecutionManager


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

      • scriptEngineManager

        private final javax.script.ScriptEngineManager scriptEngineManager
        Deprecated.
      • scriptEngines

        private final java.util.concurrent.ConcurrentMap<java.lang.String,​javax.script.ScriptEngine> scriptEngines
        Deprecated.
      • compiledScripts

        private final java.util.concurrent.ConcurrentMap<Script,​javax.script.CompiledScript> compiledScripts
        Deprecated.
      • systemPropertyAccessor

        private final ScriptAccessor systemPropertyAccessor
        Deprecated.
      • environmentVariableAccessor

        private final ScriptAccessor environmentVariableAccessor
        Deprecated.
      • forceScriptEvaluation

        boolean forceScriptEvaluation
        Deprecated.
    • Constructor Detail

      • ScriptExecutionManager

        public ScriptExecutionManager()
        Deprecated.
    • Method Detail

      • evaluate

        public java.lang.Object evaluate​(Script script,
                                         javax.script.Bindings bindings)
                                  throws javax.script.ScriptException
        Deprecated.
        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.
      • createScriptEngine

        javax.script.ScriptEngine createScriptEngine​(java.lang.String engine)
        Deprecated.
      • isCompiledScriptsEmpty

        boolean isCompiledScriptsEmpty()
        Deprecated.