public class ScriptProcessor
extends org.mule.runtime.core.api.processor.AbstractProcessor
implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.core.api.context.MuleContextAware
| Constructor and Description |
|---|
ScriptProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Scriptable |
getScript() |
void |
initialise() |
org.mule.runtime.core.api.Event |
process(org.mule.runtime.core.api.Event event) |
protected void |
putBindings(Bindings bindings) |
void |
setMuleContext(org.mule.runtime.core.api.MuleContext context) |
void |
setScript(Scriptable script) |
getAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic org.mule.runtime.core.api.Event process(org.mule.runtime.core.api.Event event)
throws org.mule.runtime.api.exception.MuleException
process in interface org.mule.runtime.core.api.processor.Processororg.mule.runtime.api.exception.MuleExceptionprotected void putBindings(Bindings bindings)
public Scriptable getScript()
public void setScript(Scriptable script)
public void setMuleContext(org.mule.runtime.core.api.MuleContext context)
setMuleContext in interface org.mule.runtime.core.api.context.MuleContextAwareCopyright © 2017. All rights reserved.