org.mule.components.script.jsr223
Class AbstractScriptComponent

java.lang.Object
  extended by org.mule.components.script.jsr223.Scriptable
      extended by org.mule.components.script.jsr223.AbstractScriptComponent
All Implemented Interfaces:
Initialisable
Direct Known Subclasses:
ScriptComponent, StreamingScriptComponent

public class AbstractScriptComponent
extends Scriptable


Field Summary
 
Fields inherited from class org.mule.components.script.jsr223.Scriptable
logger
 
Constructor Summary
AbstractScriptComponent()
           
 
Method Summary
 javax.script.Bindings getBindings()
           
 void initialise()
          Method used to perform any initialisation work.
protected  void populateBindings(javax.script.Bindings namespace, UMOEventContext context)
           
 
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
 

Constructor Detail

AbstractScriptComponent

public AbstractScriptComponent()
Method Detail

initialise

public void initialise()
                throws InitialisationException
Description copied from interface: Initialisable
Method used to perform any initialisation work. If a fatal error occurs during initialisation an InitialisationException should be thrown, causing the Mule instance to shutdown. If the error is recoverable, say by retrying to connect, a RecoverableException should be thrown. There is no guarantee that by throwing a Recoverable exception that the Mule instance will not shut down.

Specified by:
initialise in interface Initialisable
Overrides:
initialise in class Scriptable
Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from

populateBindings

protected void populateBindings(javax.script.Bindings namespace,
                                UMOEventContext context)

getBindings

public javax.script.Bindings getBindings()


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.