|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.core.AnnotatedObject
org.springframework.webflow.engine.FlowVariable
public class FlowVariable
A value object that defines a specification for a flow variable. Such a variable is allocated when a flow starts and destroyed when that flow ends. This class encapsulates information about the variable and the behavior necessary to allocate the variable instance in flow scope.
| Field Summary |
|---|
| Fields inherited from class org.springframework.webflow.core.AnnotatedObject |
|---|
CAPTION_PROPERTY, DESCRIPTION_PROPERTY |
| Constructor Summary | |
|---|---|
FlowVariable(java.lang.String name,
VariableValueFactory valueFactory)
Creates a new flow variable. |
|
| Method Summary | |
|---|---|
void |
create(RequestContext context)
Creates this flow variable. |
java.lang.Object |
destroy(RequestContext context)
Destroys this flow variable. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
Returns the name of this variable. |
int |
hashCode()
|
void |
restore(RequestContext context)
Restores this variable's dependencies. |
java.lang.String |
toString()
|
| Methods inherited from class org.springframework.webflow.core.AnnotatedObject |
|---|
getAttributes, getCaption, getDescription, setCaption, setDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowVariable(java.lang.String name,
VariableValueFactory valueFactory)
name - the variable name| Method Detail |
|---|
public java.lang.String getName()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void create(RequestContext context)
context - the executing flowpublic void restore(RequestContext context)
context - the executing flowpublic java.lang.Object destroy(RequestContext context)
context - the executing flowpublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||