org.mule.module.scripting.component
Class ScriptComponent
java.lang.Object
org.mule.component.AbstractComponent
org.mule.module.scripting.component.ScriptComponent
- All Implemented Interfaces:
- Component, Disposable, Initialisable, Lifecycle, Startable, Stoppable
public class ScriptComponent
- extends AbstractComponent
A Script service backed by a JSR-223 compliant script engine such as
Groovy, JavaScript, or Rhino.
Methods inherited from class org.mule.component.AbstractComponent |
checkDisposed, dispose, doDispose, doStart, doStop, fireComponentNotification, getService, getStatistics, initialise, onCall, release, setService, start, stop, toString |
nestedRouter
protected NestedRouterCollection nestedRouter
ScriptComponent
public ScriptComponent()
doInitialise
protected void doInitialise()
throws InitialisationException
- Overrides:
doInitialise
in class AbstractComponent
- Throws:
InitialisationException
doOnCall
protected MuleMessage doOnCall(MuleEvent event)
throws Exception
- Specified by:
doOnCall
in class AbstractComponent
- Throws:
Exception
getScript
public Scriptable getScript()
setScript
public void setScript(Scriptable script)
getNestedRouter
public NestedRouterCollection getNestedRouter()
setNestedRouter
public void setNestedRouter(NestedRouterCollection nestedRouter)
configureComponentBindings
protected void configureComponentBindings()
throws MuleException
- Throws:
MuleException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.