mess.extensions
Class MessIncludeScript

java.lang.Object
  |
  +--mess.extensions.MessLoadScript
        |
        +--mess.extensions.MessIncludeScript

public class MessIncludeScript
extends MessLoadScript

This function will load a script into a MESS instance provided it has not been loaded yet. Unlike loadScript, it will not reload a script if it had been loaded already.


Fields inherited from class mess.extensions.MessLoadScript
scripts
 
Constructor Summary
MessIncludeScript(MessAgent nm, MessLoadScript mls)
           
 
Method Summary
 String getName()
           
protected  boolean loadScript(String name)
          Returns true if the script loaded successfuly or had been loaded previously; false otherwise
 
Methods inherited from class mess.extensions.MessLoadScript
call, getLoadedScriptsIterator, isLoaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessIncludeScript

public MessIncludeScript(MessAgent nm,
                         MessLoadScript mls)
Method Detail

getName

public String getName()
Overrides:
getName in class MessLoadScript

loadScript

protected boolean loadScript(String name)
                      throws RemoteException
Returns true if the script loaded successfuly or had been loaded previously; false otherwise
Overrides:
loadScript in class MessLoadScript