Package org.oddjob.script
Class ScriptInvoker
java.lang.Object
org.oddjob.script.ScriptInvoker
- All Implemented Interfaces:
Invoker
An
Invoker for a script snippet.- Author:
- rob
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(String name, InvokerArguments arguments) Invoke something.
-
Constructor Details
-
ScriptInvoker
-
-
Method Details
-
invoke
public Object invoke(String name, InvokerArguments arguments) throws ScriptException, NoSuchMethodException Description copied from interface:InvokerInvoke something.- Specified by:
invokein interfaceInvoker- Parameters:
name- The name of the thing to be invoked.arguments- Parameters. never null.- Returns:
- The result of doing the invoking.
- Throws:
ScriptExceptionNoSuchMethodException
-