org.mule.components.script.jsr223
Class ScriptComponent
java.lang.Object
org.mule.components.script.jsr223.Scriptable
org.mule.components.script.jsr223.ScriptComponent
- All Implemented Interfaces:
- org.mule.umo.lifecycle.Callable, org.mule.umo.lifecycle.Initialisable, org.mule.umo.lifecycle.UMOEventListener
- public class ScriptComponent
- extends Scriptable
- implements org.mule.umo.lifecycle.Callable
A JSR 223 Script component. Allows any JSR 223 compliant script engines such as
JavaScript, Groovy or Rhino to be embedded as Mule components.
| Fields inherited from interface org.mule.umo.lifecycle.Initialisable |
PHASE_NAME |
| Methods inherited from class org.mule.components.script.jsr223.Scriptable |
compileScript, compileScript, compileScript, createScriptEngine, evaluteScript, getCompiledScript, getScriptEngine, getScriptEngineName, getScriptFile, getScriptText, runScript, runScript, setCompiledScript, setScriptEngine, setScriptEngineName, setScriptFile, setScriptText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptComponent
public ScriptComponent()
initialise
public void initialise()
throws org.mule.umo.lifecycle.InitialisationException
- Specified by:
initialise in interface org.mule.umo.lifecycle.Initialisable- Overrides:
initialise in class Scriptable
- Throws:
org.mule.umo.lifecycle.InitialisationException
onCall
public Object onCall(org.mule.umo.UMOEventContext eventContext)
throws Exception
- Specified by:
onCall in interface org.mule.umo.lifecycle.Callable
- Throws:
Exception
populateBindings
protected void populateBindings(javax.script.Bindings namespace,
org.mule.umo.UMOEventContext context)
getBindings
public javax.script.Bindings getBindings()
Copyright © 2003-2007 MuleSource, Inc.. All Rights Reserved.