SWF-1416 Update JavaDoc and schema doc with regards to setting max-snapshots=0

This commit is contained in:
Rossen Stoyanchev
2010-12-02 19:46:57 +00:00
parent df7f3406a0
commit 42bba0094c
3 changed files with 7 additions and 2 deletions

View File

@@ -311,7 +311,8 @@ The maximum number of persistent flow executions allowed per user session. The
<xsd:annotation>
<xsd:documentation>
<![CDATA[
The maximum number of history snapshots allowed per flow execution. The default is 30.
The maximum number of history snapshots allowed per flow execution. The default is 30.
Setting this value to 0 disables the creation of snapshot copies altogether.
]]>
</xsd:documentation>
</xsd:annotation>

View File

@@ -322,7 +322,8 @@ The maximum number of persistent flow executions allowed per user session. The
<xsd:annotation>
<xsd:documentation>
<![CDATA[
The maximum number of history snapshots allowed per flow execution. The default is 30.
The maximum number of history snapshots allowed per flow execution. The default is 30.
Setting this value to 0 disables the creation of snapshot copies altogether.
]]>
</xsd:documentation>
</xsd:annotation>

View File

@@ -30,6 +30,9 @@ import org.springframework.webflow.execution.repository.snapshot.SnapshotNotFoun
/**
* The default flow execution repository implementation. Takes <i>one to {@link #getMaxSnapshots() max}</i> flow
* execution snapshots, where each snapshot represents a copy of a {@link FlowExecution} taken at a point in time.
* Snapshots are created via a {@link FlowExecutionSnapshotFactory} and that may or may not involve creating a copy of a
* flow execution through Java serialization. In particular when the flow-execution-repository element is configured
* with max-execution-snapshots="0", creating snapshot copies is effectively turned off.
* <p>
* The set of active flow executions are managed by a {@link ConversationManager} implementation, which this repository
* delegates to.