org.oddjob.script
Class ScriptInvoker
java.lang.Object
org.oddjob.script.ScriptInvoker
- All Implemented Interfaces:
- Invoker
public class ScriptInvoker
- extends Object
- implements Invoker
An Invoker
for a script snippet.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptInvoker
public ScriptInvoker(Invocable invocable)
invoke
public Object invoke(String name,
InvokerArguments arguments)
- Description copied from interface:
Invoker
- Invoke something.
- Specified by:
invoke
in interface Invoker
- Parameters:
name
- The name of the thing to be invoked.arguments
- Parameters. never null.
- Returns:
- The result of doing the invoking.