Apache JMeter
2.1.1

org.apache.jmeter.util
Class BeanShellInterpreter

java.lang.Object
  extended byorg.apache.jmeter.util.BeanShellInterpreter

public class BeanShellInterpreter
extends Object

BeanShell setup function - encapsulates all the access to the BeanShell Interpreter in a single class. The class uses dynamic class loading to access BeanShell, which means that all the source files can be built without needing access to the bsh jar. If the beanshell jar is not present at run-time, an error will be logged

Version:
$Revision: 1.4 $ Updated on: $Date: 2005/07/12 20:50:44 $

Constructor Summary
BeanShellInterpreter()
           
 
Method Summary
 Object eval(String s)
           
 Object get(String s)
           
 void init(String initFile, Object logger)
           
 Object set(String s, boolean b)
           
 Object set(String s, Object o)
           
 Object source(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanShellInterpreter

public BeanShellInterpreter()
                     throws ClassNotFoundException
Method Detail

init

public void init(String initFile,
                 Object logger)
          throws IOException,
                 JMeterException
Throws:
IOException
JMeterException

eval

public Object eval(String s)
            throws JMeterException
Throws:
JMeterException

set

public Object set(String s,
                  Object o)
           throws JMeterException
Throws:
JMeterException

set

public Object set(String s,
                  boolean b)
           throws JMeterException
Throws:
JMeterException

source

public Object source(String s)
              throws JMeterException
Throws:
JMeterException

get

public Object get(String s)
           throws JMeterException
Throws:
JMeterException

Apache JMeter
2.1.1

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.