Interface ScriptEngineResolver

All Known Implementing Classes:
DefaultScriptEngineResolver

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.
      Parameters:
      language - the language (such as 'groovy' for the script engine)
      Returns:
      the cached engine or null if no script engine can be created for the given language