Class JRubyScriptInvocationHandler
java.lang.Object
de.gmorling.scriptabledataset.handlers.JRubyScriptInvocationHandler
- All Implemented Interfaces:
ScriptInvocationHandler
A
ScriptInvocationHandler
for JRuby scripts. It adds some commonly used imports to the begin of each
script and converts Objects returned by the scripting engine into types processable by DBUnit.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpostInvoke
(Object object) void
setScriptEngine
(ScriptEngine engine)
-
Constructor Details
-
JRubyScriptInvocationHandler
public JRubyScriptInvocationHandler()
-
-
Method Details
-
getLanguageName
- Specified by:
getLanguageName
in interfaceScriptInvocationHandler
-
preInvoke
- Specified by:
preInvoke
in interfaceScriptInvocationHandler
-
postInvoke
- Specified by:
postInvoke
in interfaceScriptInvocationHandler
-
setScriptEngine
- Specified by:
setScriptEngine
in interfaceScriptInvocationHandler
-