org.oddjob.script
Class ScriptInvoker

java.lang.Object
  extended by org.oddjob.script.ScriptInvoker
All Implemented Interfaces:
Invoker

public class ScriptInvoker
extends Object
implements Invoker

An Invoker for a script snippet.

Author:
rob

Nested Class Summary
static class ScriptInvoker.Conversions
           
 
Constructor Summary
ScriptInvoker(Invocable invocable)
           
 
Method Summary
 Object invoke(String name, InvokerArguments arguments)
          Invoke something.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptInvoker

public ScriptInvoker(Invocable invocable)
Method Detail

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.