Interface ScriptingExecutor<T>
- All Known Implementing Classes:
DefaultScriptingExecutor
public interface ScriptingExecutor<T>
Scripting executor allows to execute
Script using remoting. The "server" side implements
this interface (with built in implementation of DefaultScriptingExecutor. The client side
simply uses either async or sync proxy built on top of this interface.- Author:
- kimchy
-
Method Summary
-
Method Details
-
execute
Executes the given script and returns a response.- Throws:
ScriptingException
-
asyncExecute
Executes the given script and return a future that can be used to read the response at a later stage.Note, this only works with "async" remoting.
- Throws:
ScriptingException
-