Interface ExecutionStrategy
- All Known Implementing Classes:
DefaultExecutionStrategy
,MethodExecutionStrategy
public interface ExecutionStrategy
The strategy used to execute a method on an object instance.
-
Method Summary
-
Method Details
-
execute
Executes a method on an object instance, or a static method if the specified instance isnull
.- Parameters:
instance
- the object instance to be executed ornull
to execute a static method- Returns:
- the return value of the method, or
null
- Throws:
ScriptException
- if no method to execute was found
-