Package org.elasticsearch.script
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 settingsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
CORE_CONTEXTS
-
engines
-
contexts
-
-
Constructor Details
-
ScriptModule
-
-
Method Details
-
registerClusterSettingsListeners
public void registerClusterSettingsListeners(ScriptService scriptService, ClusterSettings clusterSettings)Allow the script service to register any settings update handlers on the cluster settings
-