Spring Web Flow

org.springframework.webflow.execution
Class ActionExecutor

java.lang.Object
  extended by org.springframework.webflow.execution.ActionExecutor

public class ActionExecutor
extends java.lang.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

Method Summary
static Event execute(Action action, RequestContext context)
          Execute the given action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public static Event execute(Action action,
                            RequestContext context)
                     throws ActionExecutionException
Execute the given action.

Parameters:
action - the action to execute
context - 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

Spring Web Flow