|
|||||||||
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 | |
---|---|
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. |
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).
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 definition
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |