|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.EvaluateAction
public class EvaluateAction
An action that evaluates an expression and optionally exposes its result.
Delegates to a helper ResultEventFactorySelector strategy to determine how to map the evaluation result to an
action outcome Event.
Expression,
ActionResultExposer,
ResultEventFactorySelector| Field Summary |
|---|
| Fields inherited from class org.springframework.webflow.action.AbstractAction |
|---|
logger |
| Constructor Summary | |
|---|---|
EvaluateAction(org.springframework.binding.expression.Expression expression)
Create a new evaluate action. |
|
EvaluateAction(org.springframework.binding.expression.Expression expression,
ActionResultExposer evaluationResultExposer)
Create a new evaluate action. |
|
| Method Summary | |
|---|---|
protected Event |
doExecute(RequestContext context)
Template hook method subclasses should override to encapsulate their specific action execution logic. |
protected org.springframework.binding.expression.EvaluationContext |
getEvaluationContext(RequestContext context)
Template method subclasses may override to customize the expressin evaluation context. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluateAction(org.springframework.binding.expression.Expression expression)
expression - the expression to evaluate
public EvaluateAction(org.springframework.binding.expression.Expression expression,
ActionResultExposer evaluationResultExposer)
expression - the expression to evaluateevaluationResultExposer - the strategy for how the expression result will be exposed to the flow| Method Detail |
|---|
protected Event doExecute(RequestContext context)
throws java.lang.Exception
AbstractAction
doExecute in class AbstractActioncontext - the action execution context, for accessing and setting data in "flow scope" or "request scope"
java.lang.Exception - an unrecoverable exception occured, either checked or uncheckedprotected org.springframework.binding.expression.EvaluationContext getEvaluationContext(RequestContext context)
context - the request context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||