Class ProcessApplicationScriptEnvironment


  • public class ProcessApplicationScriptEnvironment
    extends java.lang.Object
    Author:
    Roman Smirnov
    • Constructor Detail

    • Method Detail

      • getScriptEngineForName

        public javax.script.ScriptEngine getScriptEngineForName​(java.lang.String scriptEngineName,
                                                                boolean cache)

        Returns an instance of ScriptEngine for the given scriptEngineName.

        Iff the given parameter cache is set true, then the instance ScriptEngine will be cached.

        Parameters:
        scriptEngineName - the name of the ScriptEngine to return
        cache - a boolean value which indicates whether the ScriptEngine should be cached or not.
        Returns:
        a ScriptEngine
      • getEnvironmentScripts

        public java.util.Map<java.lang.String,​java.util.List<ExecutableScript>> getEnvironmentScripts()
        Returns a map of cached environment scripts per script language.
      • getProcessApplicationClassloader

        protected java.lang.ClassLoader getProcessApplicationClassloader()