Class ProcessApplicationScriptEnvironment


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

    • Method Detail

      • getScriptEngineForName

        public ScriptEngine getScriptEngineForName​(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 Map<String,​List<ExecutableScript>> getEnvironmentScripts()
        Returns a map of cached environment scripts per script language.
      • getProcessApplicationClassloader

        protected ClassLoader getProcessApplicationClassloader()