Class ViewFactoryActionAdapter
java.lang.Object
org.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.ViewFactoryActionAdapter
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,Action
Simple adapter that adapts a view factory render cycle to the action interface.
- Author:
- Keith Donald
-
Field Summary
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger
-
Constructor Summary
ConstructorDescriptionViewFactoryActionAdapter
(ViewFactory viewFactory) Creates a new view factory action adapter -
Method Summary
Modifier and TypeMethodDescriptionprotected Event
doExecute
(RequestContext context) Template hook method subclasses should override to encapsulate their specific action execution logic.Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes
-
Constructor Details
-
ViewFactoryActionAdapter
Creates a new view factory action adapter- Parameters:
viewFactory
- the view factory to adapt to the Action interface.
-
-
Method Details
-
doExecute
Description copied from class:AbstractAction
Template hook method subclasses should override to encapsulate their specific action execution logic.- Specified by:
doExecute
in classAbstractAction
- Parameters:
context
- the action execution context, for accessing and setting data in "flow scope" or "request scope"- Returns:
- the action result event
- Throws:
Exception
- an unrecoverable exception occured, either checked or unchecked
-