org.mule.components.script.jsr223
Class StreamingScriptComponent
java.lang.Object
org.mule.components.script.jsr223.Scriptable
org.mule.components.script.jsr223.AbstractScriptComponent
org.mule.components.script.jsr223.StreamingScriptComponent
- All Implemented Interfaces:
- StreamingService, Initialisable
public class StreamingScriptComponent
- extends AbstractScriptComponent
- implements StreamingService
A JSR 223 Script streaming component. Allows any JSR 223 compliant script engines
such as JavaScript, Groovy or Rhino to be embedded as Mule components.
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 |
StreamingScriptComponent
public StreamingScriptComponent()
call
public void call(InputStream in,
OutputStream out,
UMOEventContext eventContext)
throws Exception
- Description copied from interface:
StreamingService
- A service component that passes the inputStream and output stream for an event direcly to the
service component. Note that the InputStream will never be null, but the OutputStream can be null
if the transport being used does not provide a response output stream and there is no outbound endpoint
defined for this service.
- Specified by:
call
in interface StreamingService
- Throws:
Exception
populateBindings
protected void populateBindings(javax.script.Bindings namespace,
InputStream in,
OutputStream out,
UMOEventContext context)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.