|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.model.builder.DefaultFlowModelHolder
public class DefaultFlowModelHolder
A flow model holder that can detect changes on an underlying flow model resource and refresh that resource automatically.
This class is thread-safe.
Note that this FlowModel holder uses a FlowModelBuilder.
FlowModel| Constructor Summary | |
|---|---|
DefaultFlowModelHolder(FlowModelBuilder flowModelBuilder)
Creates a new refreshable flow model holder that uses the configured assembler (GOF director) to drive flow assembly, on initial use and on any resource change or refresh. |
|
| Method Summary | |
|---|---|
FlowModel |
getFlowModel()
Returns the flow model held by this holder. |
org.springframework.core.io.Resource |
getFlowModelResource()
Returns the underlying resource defining the flow model. |
boolean |
hasFlowModelChanged()
Has the underlying flow model changed since it was last accessed via a call to FlowModelHolder.getFlowModel(). |
void |
refresh()
Refresh the flow model held by this holder. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFlowModelHolder(FlowModelBuilder flowModelBuilder)
flowModelBuilder - the flow model builder to use| Method Detail |
|---|
public FlowModel getFlowModel()
FlowModelHolder
getFlowModel in interface FlowModelHolderpublic org.springframework.core.io.Resource getFlowModelResource()
FlowModelHolder
getFlowModelResource in interface FlowModelHolderpublic boolean hasFlowModelChanged()
FlowModelHolderFlowModelHolder.getFlowModel().
hasFlowModelChanged in interface FlowModelHolderpublic void refresh()
FlowModelHolder
refresh in interface FlowModelHolderpublic 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 | ||||||||