|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowDefinitionHolder
A holder holding a reference to a Flow definition. Provides a layer of indirection, enabling things like "hot-reloadable" flow definitions.
FlowDefinitionRegistry.registerFlowDefinition(FlowDefinitionHolder)
Method Summary | |
---|---|
void |
destroy()
Indicates that the system is being shutdown and any resources flow resources should be released. |
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. |
java.lang.String |
getFlowDefinitionResourceString()
Returns a descriptive string that identifies the source of this FlowDefinition. |
void |
refresh()
Refresh the flow definition held by this holder. |
Method Detail |
---|
java.lang.String getFlowDefinitionId()
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).
java.lang.String getFlowDefinitionResourceString()
FlowDefinition getFlowDefinition() throws FlowDefinitionConstructionException
FlowDefinitionConstructionException
- if there is a problem constructing the target flow definitionvoid refresh() throws FlowDefinitionConstructionException
FlowDefinitionConstructionException
- if there is a problem constructing the target flow definitionvoid destroy()
getFlowDefinition()
are undefined. Should only be called once. May be a no-op
if the held flow was never constructed to begin with.
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |