|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.definition.registry.StaticFlowDefinitionHolder
public final class StaticFlowDefinitionHolder
A simple flow definition holder that just holds a constant singleton reference to a flow definition.
Constructor Summary | |
---|---|
StaticFlowDefinitionHolder(FlowDefinition flowDefinition)
Creates the static flow definition holder. |
Method Summary | |
---|---|
FlowDefinition |
getFlowDefinition()
Returns the flow definition held by this holder. |
java.lang.String |
getFlowDefinitionId()
Returns the id of the flow definition held by this holder. |
void |
refresh()
Refresh the flow definition held by this holder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticFlowDefinitionHolder(FlowDefinition flowDefinition)
flowDefinition
- the flow to holdMethod Detail |
---|
public java.lang.String getFlowDefinitionId()
FlowDefinitionHolder
id
of the flow definition held by this holder. This is a lightweight method
callers may call to obtain the id of the flow without triggering full flow definition assembly (which may be an
expensive operation).
getFlowDefinitionId
in interface FlowDefinitionHolder
public FlowDefinition getFlowDefinition()
FlowDefinitionHolder
getFlowDefinition
in interface FlowDefinitionHolder
public void refresh()
FlowDefinitionHolder
refresh
in interface FlowDefinitionHolder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |