Class BshScriptEvaluator

java.lang.Object
org.springframework.scripting.bsh.BshScriptEvaluator
All Implemented Interfaces:
Aware, BeanClassLoaderAware, ScriptEvaluator

public class BshScriptEvaluator extends Object implements ScriptEvaluator, BeanClassLoaderAware
BeanShell-based implementation of Spring's ScriptEvaluator strategy interface.
Since:
4.0
Author:
Juergen Hoeller
See Also:
  • Interpreter.eval(String)
  • Constructor Details

    • BshScriptEvaluator

      public BshScriptEvaluator()
      Construct a new BshScriptEvaluator.
    • BshScriptEvaluator

      public BshScriptEvaluator(ClassLoader classLoader)
      Construct a new BshScriptEvaluator.
      Parameters:
      classLoader - the ClassLoader to use for the Interpreter
  • Method Details