Class ScriptModule

java.lang.Object
org.elasticsearch.script.ScriptModule

public class ScriptModule
extends java.lang.Object
Manages building ScriptService.
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.util.Map<java.lang.String,​ScriptContext<?>> contexts  
    static java.util.Map<java.lang.String,​ScriptContext<?>> CORE_CONTEXTS  
    java.util.Map<java.lang.String,​ScriptEngine> engines  
  • Constructor Summary

    Constructors
    Constructor Description
    ScriptModule​(Settings settings, java.util.List<ScriptPlugin> scriptPlugins)  
  • Method Summary

    Modifier and Type Method Description
    void registerClusterSettingsListeners​(ScriptService scriptService, ClusterSettings clusterSettings)
    Allow the script service to register any settings update handlers on the cluster settings

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CORE_CONTEXTS

      public static final java.util.Map<java.lang.String,​ScriptContext<?>> CORE_CONTEXTS
    • engines

      public final java.util.Map<java.lang.String,​ScriptEngine> engines
    • contexts

      public final java.util.Map<java.lang.String,​ScriptContext<?>> contexts
  • Constructor Details

    • ScriptModule

      public ScriptModule​(Settings settings, java.util.List<ScriptPlugin> scriptPlugins)
  • Method Details

    • registerClusterSettingsListeners

      public void registerClusterSettingsListeners​(ScriptService scriptService, ClusterSettings clusterSettings)
      Allow the script service to register any settings update handlers on the cluster settings