|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.action.ActionResultExposer
public class ActionResultExposer
Specifies how an action result value should be exposed to an executing flow. The return value is exposed as an attribute in a configured scope.
EvaluateAction,
AbstractBeanInvokingAction,
Serialized Form| Constructor Summary | |
|---|---|
ActionResultExposer(java.lang.String resultName,
ScopeType resultScope)
Creates a action result exposer |
|
| Method Summary | |
|---|---|
void |
exposeResult(java.lang.Object result,
RequestContext context)
Expose given bean method return value in given flow execution request context. |
java.lang.String |
getResultName()
Returns name of the attribute to index the return value with. |
ScopeType |
getResultScope()
Returns the scope the attribute indexing the return value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActionResultExposer(java.lang.String resultName,
ScopeType resultScope)
resultName - the result nameresultScope - the result scope| Method Detail |
|---|
public java.lang.String getResultName()
public ScopeType getResultScope()
public void exposeResult(java.lang.Object result,
RequestContext context)
result - the return valuecontext - the request contextpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||