Interface ScriptEngineResolver

    • Method Detail

      • addScriptEngineFactory

        void addScriptEngineFactory​(javax.script.ScriptEngineFactory scriptEngineFactory)
      • getScriptEngineManager

        javax.script.ScriptEngineManager getScriptEngineManager()
      • getScriptEngine

        javax.script.ScriptEngine getScriptEngine​(java.lang.String language,
                                                  boolean resolveFromCache)
        Returns a cached script engine or creates a new script engine if no such engine is currently cached.
        language - the language (such as 'groovy' for the script engine)
        the cached engine or null if no script engine can be created for the given language