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) voidsetScriptEngine(ScriptEngine engine)
-
Constructor Details
-
JRubyScriptInvocationHandler
public JRubyScriptInvocationHandler()
-
-
Method Details
-
getLanguageName
- Specified by:
getLanguageNamein interfaceScriptInvocationHandler
-
preInvoke
- Specified by:
preInvokein interfaceScriptInvocationHandler
-
postInvoke
- Specified by:
postInvokein interfaceScriptInvocationHandler
-
setScriptEngine
- Specified by:
setScriptEnginein interfaceScriptInvocationHandler
-