org.springframework.webflow.execution
Class ActionExecutor
java.lang.Object
org.springframework.webflow.execution.ActionExecutor
public class ActionExecutor
- extends Object
A simple static helper that performs action execution that encapsulates common logging and exception handling logic.
This is an internal helper class that is not normally used by application code.
- Author:
- Keith Donald, Erwin Vervaet
execute
public static Event execute(Action action,
RequestContext context)
throws ActionExecutionException
- Execute the given action.
- Parameters:
action
- the action to executecontext
- the flow execution request context
- Returns:
- result of action execution
- Throws:
ActionExecutionException
- if the action threw an exception while executing, the orginal exception is
available as the cause if this exception