Interface ScriptEngineResolver

All Known Implementing Classes:

public interface ScriptEngineResolver
  • Method Details

    • addScriptEngineFactory

      void addScriptEngineFactory(ScriptEngineFactory scriptEngineFactory)
    • getScriptEngineManager

      ScriptEngineManager getScriptEngineManager()
    • getScriptEngine

      ScriptEngine getScriptEngine(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