public class ScriptRunner extends Object
| Constructor and Description |
|---|
ScriptRunner(Script scriptConfig,
org.mule.runtime.core.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
protected ScriptEngine |
createScriptEngineByName(String name) |
ScriptEngine |
getScriptEngine() |
void |
initialise() |
protected String |
listAvailableEngines() |
void |
populateBindings(Bindings bindings,
org.mule.runtime.api.component.location.ComponentLocation location,
org.mule.runtime.core.api.InternalEvent event,
org.mule.runtime.core.api.InternalEvent.Builder eventBuilder) |
void |
populateDefaultBindings(Bindings bindings) |
protected void |
populatePropertyBindings(Bindings bindings) |
Object |
runScript(Bindings bindings) |
public ScriptRunner(Script scriptConfig, org.mule.runtime.core.api.MuleContext muleContext)
public void initialise()
protected void populatePropertyBindings(Bindings bindings)
public void populateDefaultBindings(Bindings bindings)
public void populateBindings(Bindings bindings, org.mule.runtime.api.component.location.ComponentLocation location, org.mule.runtime.core.api.InternalEvent event, org.mule.runtime.core.api.InternalEvent.Builder eventBuilder)
protected ScriptEngine createScriptEngineByName(String name)
protected String listAvailableEngines()
public ScriptEngine getScriptEngine()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.