Class SmartBshScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
bsh.BshScriptEngine
net.jalbum.script.SmartBshScriptEngine
- All Implemented Interfaces:
Compilable,Invocable,ScriptEngine
public class SmartBshScriptEngine
extends bsh.BshScriptEngine
Extension to BshScriptEngine that wraps passed Bindings object into an adapter that automatically wraps and unwraps
primitives
-
Field Summary
Fields inherited from class javax.script.AbstractScriptEngine
contextFields inherited from interface javax.script.ScriptEngine
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class bsh.BshScriptEngine
compile, compile, createBindings, eval, eval, getFactory, getInterface, getInterface, getInterpreter, invokeFunction, invokeMethodMethods inherited from class javax.script.AbstractScriptEngine
eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
-
Constructor Details
-
SmartBshScriptEngine
public SmartBshScriptEngine()
-
-
Method Details
-
eval
- Specified by:
evalin interfaceScriptEngine- Overrides:
evalin classAbstractScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Overrides:
evalin classAbstractScriptEngine- Throws:
ScriptException
-