Spring Web Flow

org.springframework.webflow.engine.support
Class ActionExecutingViewFactory

java.lang.Object
  extended by org.springframework.webflow.engine.support.ActionExecutingViewFactory
All Implemented Interfaces:
ViewFactory

public class ActionExecutingViewFactory
extends java.lang.Object
implements ViewFactory

A view factory implementation that creates views that execute an action when rendered. Used mainly to encapsulate an action that renders a response. Examples include flow redirect and external redirect actions.


Constructor Summary
ActionExecutingViewFactory(Action action)
          Create a new action invoking view factory
 
Method Summary
 Action getAction()
           
 View getView(RequestContext context)
          Get the view to render for this request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionExecutingViewFactory

public ActionExecutingViewFactory(Action action)
Create a new action invoking view factory

Parameters:
action - the action to execute
Method Detail

getAction

public Action getAction()

getView

public View getView(RequestContext context)
Description copied from interface: ViewFactory
Get the view to render for this request.

Specified by:
getView in interface ViewFactory
Parameters:
context - the flow execution request context.
Returns:
the view to render

Spring Web Flow