net.sourceforge.idrs.script.embedable
Class IDRSBeanShell

java.lang.Object
  |
  +--net.sourceforge.idrs.script.embedable.IDRSBeanShell
All Implemented Interfaces:
IDRSScriptLanguage

public class IDRSBeanShell
extends java.lang.Object
implements IDRSScriptLanguage


Field Summary
(package private)  bsh.Interpreter bsh
           
 
Constructor Summary
IDRSBeanShell()
           
 
Method Summary
 java.lang.String eval(java.lang.String cmd)
          Used for <$= $>
 void exec(java.lang.String cmds)
          Used for <$ $>
 java.lang.Object getVal(java.lang.String obj)
          Used for extracting objects
 void importClass(java.lang.String className)
           
 void setVal(java.lang.String name, java.lang.Object val)
          Used for setting object
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bsh

bsh.Interpreter bsh
Constructor Detail

IDRSBeanShell

public IDRSBeanShell()
              throws java.lang.Exception
Method Detail

eval

public java.lang.String eval(java.lang.String cmd)
                      throws java.lang.Exception
Used for <$= $>
Specified by:
eval in interface IDRSScriptLanguage

exec

public void exec(java.lang.String cmds)
          throws java.lang.Exception
Used for <$ $>
Specified by:
exec in interface IDRSScriptLanguage

getVal

public java.lang.Object getVal(java.lang.String obj)
                        throws java.lang.Exception
Used for extracting objects
Specified by:
getVal in interface IDRSScriptLanguage

setVal

public void setVal(java.lang.String name,
                   java.lang.Object val)
            throws java.lang.Exception
Used for setting object
Specified by:
setVal in interface IDRSScriptLanguage

importClass

public void importClass(java.lang.String className)
                 throws java.lang.Exception
Specified by:
importClass in interface IDRSScriptLanguage