org.springframework.webflow.engine.support
Class ActionExecutingViewFactory
java.lang.Object
org.springframework.webflow.engine.support.ActionExecutingViewFactory
- All Implemented Interfaces:
- ViewFactory
public class ActionExecutingViewFactory
- extends 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.
ActionExecutingViewFactory
public ActionExecutingViewFactory(Action action)
- Create a new action invoking view factory
- Parameters:
action
- the action to execute
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