org.apache.jmeter.util
Class BeanShellInterpreter
public class BeanShellInterpreter
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
BeanShellInterpreter
public BeanShellInterpreter()
throws ClassNotFoundException
BeanShellInterpreter
public BeanShellInterpreter(String init,
Logger _log)
throws ClassNotFoundException
init
- initialisation file_log
- logger to pass to interpreter
isInterpreterPresent
public static boolean isInterpreterPresent()
reset
public void reset()
throws ClassNotFoundException
Resets the BeanShell interpreter.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.