Switched version number to 1.0.3.
Also added JavaDoc @since tags for 1.0.2 and 1.0.1.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
SPRING WEB FLOW SANDBOX (SWF) CHANGELOG
|
||||
===============================
|
||||
=======================================
|
||||
http://www.springframework.org
|
||||
|
||||
Changes in version 1.0.2 ()
|
||||
Changes in version X.Y.Z ()
|
||||
-------------------------------------
|
||||
@@ -2,11 +2,12 @@ SPRING WEB FLOW (SWF) CHANGELOG
|
||||
===============================
|
||||
http://www.springframework.org
|
||||
|
||||
Changes in version 1.1 ()
|
||||
Changes in version 1.0.3 (24.04.2007)
|
||||
-------------------------------------
|
||||
|
||||
Package org.springframework.webflow.executor
|
||||
* PortletFlowController now correctly handles flow redirection parameters (SWF-236).
|
||||
* FlowExecution refresh no longer causes a new flow execution key to be generated (SWF-291).
|
||||
|
||||
Changes in version 1.0.2 (10.04.2007)
|
||||
-------------------------------------
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<bookinfo>
|
||||
<title>Spring Web Flow</title>
|
||||
<subtitle>Reference Documentation</subtitle>
|
||||
<releaseinfo>Version 1.0.2</releaseinfo>
|
||||
<releaseinfo>Version 1.0.3</releaseinfo>
|
||||
<pubdate>April 2007</pubdate>
|
||||
<authorgroup>
|
||||
<author>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
SPRING WEB FLOW 1.0.2 (April 2007)
|
||||
SPRING WEB FLOW 1.0.3 (April 2007)
|
||||
----------------------------------
|
||||
http://www.springframework.org/webflow
|
||||
http://forum.springframework.org
|
||||
|
||||
@@ -179,6 +179,7 @@ public class FlowExecutorFactoryBean implements FactoryBean, InitializingBean {
|
||||
* conversation when using the {@link RepositoryType#CONTINUATION continuation}
|
||||
* flow execution repository.
|
||||
* @see ContinuationFlowExecutionRepository#setMaxContinuations(int)
|
||||
* @since 1.0.1
|
||||
*/
|
||||
public void setMaxContinuations(int maxContinuations) {
|
||||
this.maxContinuations = new Integer(maxContinuations);
|
||||
@@ -190,6 +191,7 @@ public class FlowExecutorFactoryBean implements FactoryBean, InitializingBean {
|
||||
* {@link RepositoryType#CONTINUATION continuation} flow execution repository.
|
||||
* @return the configured value or null if the user did not explicitly
|
||||
* specify a value and wants to use the default
|
||||
* @since 1.0.1
|
||||
*/
|
||||
protected Integer getMaxContinuations() {
|
||||
return maxContinuations;
|
||||
@@ -215,6 +217,7 @@ public class FlowExecutorFactoryBean implements FactoryBean, InitializingBean {
|
||||
* property of the default {@link SessionBindingConversationManager}. Do not use
|
||||
* this when using {@link #setConversationManager(ConversationManager)}.
|
||||
* @see SessionBindingConversationManager#setMaxConversations(int)
|
||||
* @since 1.0.1
|
||||
*/
|
||||
public void setMaxConversations(int maxConversations) {
|
||||
this.maxConversations = new Integer(maxConversations);
|
||||
@@ -227,6 +230,7 @@ public class FlowExecutorFactoryBean implements FactoryBean, InitializingBean {
|
||||
* {@link #setConversationManager(ConversationManager)}.
|
||||
* @return the configured value or null if the user did not explicitly
|
||||
* specify a value and wants to use the default
|
||||
* @since 1.0.1
|
||||
*/
|
||||
protected Integer getMaxConversations() {
|
||||
return maxConversations;
|
||||
@@ -411,6 +415,7 @@ public class FlowExecutorFactoryBean implements FactoryBean, InitializingBean {
|
||||
|
||||
/**
|
||||
* Returns the flow executor constructed by the factory bean.
|
||||
* @since 1.0.2
|
||||
*/
|
||||
public FlowExecutor getFlowExecutor() {
|
||||
return flowExecutor;
|
||||
|
||||
@@ -65,6 +65,7 @@ public class SessionBindingConversationManager implements ConversationManager {
|
||||
/**
|
||||
* Returns the used generator for conversation ids. Defaults to
|
||||
* {@link RandomGuidUidGenerator}.
|
||||
* @since 1.0.1
|
||||
*/
|
||||
public UidGenerator getConversationIdGenerator() {
|
||||
return conversationIdGenerator;
|
||||
@@ -80,6 +81,7 @@ public class SessionBindingConversationManager implements ConversationManager {
|
||||
/**
|
||||
* Returns the maximum number of allowed concurrent conversations. The
|
||||
* default is 5.
|
||||
* @since 1.0.1
|
||||
*/
|
||||
public int getMaxConversations() {
|
||||
return maxConversations;
|
||||
|
||||
@@ -145,6 +145,7 @@ public class FlowDefinitionResource implements Serializable {
|
||||
* By convention this will be the filename of the resource, excluding extension.
|
||||
* @see FlowDefinitionResource#FlowDefinitionResource(Resource)
|
||||
* @see FlowDefinitionResource#FlowDefinitionResource(Resource, AttributeMap)
|
||||
* @since 1.0.1
|
||||
*/
|
||||
public static String conventionalFlowId(Resource location) {
|
||||
String fileName = location.getFilename();
|
||||
|
||||
@@ -573,6 +573,7 @@ public abstract class AbstractFlowBuilder extends BaseFlowBuilder {
|
||||
* Parses the expression string into a settable {@link Expression} object.
|
||||
* @param expressionString the expression string, e.g. flowScope.order.number
|
||||
* @return the evaluatable expression
|
||||
* @since 1.0.2
|
||||
*/
|
||||
protected SettableExpression settableExpression(String expressionString) {
|
||||
return getFlowServiceLocator().getExpressionParser().parseSettableExpression(expressionString);
|
||||
|
||||
@@ -44,6 +44,8 @@ import org.springframework.webflow.engine.builder.FlowAssembler;
|
||||
*
|
||||
* @see AbstractFlowBuilder
|
||||
*
|
||||
* @since 1.0.2
|
||||
*
|
||||
* @author Erwin Vervaet
|
||||
*/
|
||||
public abstract class AbstractFlowBuilderFlowRegistryFactoryBean extends
|
||||
|
||||
@@ -64,6 +64,7 @@ public class DefaultFlowServiceLocator extends BaseFlowServiceLocator {
|
||||
* bean factory.
|
||||
* @param subflowRegistryBeanId the bean id of the subflow FlowDefinitionRegistry
|
||||
* @param beanFactory the Spring bean factory
|
||||
* @since 1.0.2
|
||||
*/
|
||||
public DefaultFlowServiceLocator(String subflowRegistryBeanId, BeanFactory beanFactory) {
|
||||
Assert.notNull(subflowRegistryBeanId, "The subflow registry bean id is required");
|
||||
|
||||
@@ -92,6 +92,7 @@ public class XmlFlowRegistryFactoryBean extends AbstractFlowBuildingFlowRegistry
|
||||
|
||||
/**
|
||||
* Set the configured externalized XML flow registrar.
|
||||
* @since 1.0.1
|
||||
*/
|
||||
public void setXmlFlowRegistrar(XmlFlowRegistrar flowRegistrar) {
|
||||
Assert.notNull(flowRegistrar, "The flowRegistrar is required");
|
||||
@@ -172,6 +173,7 @@ public class XmlFlowRegistryFactoryBean extends AbstractFlowBuildingFlowRegistry
|
||||
* Can be used in conjunction with both {@link #setFlowLocations(Resource[])}
|
||||
* and {@link #setFlowDefinitions(Properties)}.
|
||||
* @param flowAttributes the flow attributes, keyed by flow id
|
||||
* @since 1.0.1
|
||||
*/
|
||||
public void setFlowAttributes(Map flowAttributes) {
|
||||
this.flowAttributes = flowAttributes;
|
||||
|
||||
@@ -49,6 +49,7 @@ public class BeanFactoryFlowVariable extends FlowVariable {
|
||||
* @param beanFactory the bean factory where initial variable values will be
|
||||
* obtained
|
||||
* @param scope the variable scope
|
||||
* @since 1.0.2
|
||||
*/
|
||||
public BeanFactoryFlowVariable(String name, BeanFactory beanFactory, ScopeType scope) {
|
||||
this(name, name, beanFactory, scope);
|
||||
|
||||
@@ -129,7 +129,8 @@ public class TransitionExecutingStateExceptionHandler implements FlowExecutionEx
|
||||
* processing before the exceptions are exposed.
|
||||
* @param context the request control context
|
||||
* @param exception the exception being handled
|
||||
* @param rootCause root cause of the exception being handled (could be null)
|
||||
* @param rootCause root cause of the exception being handled (could be null)
|
||||
* @since 1.0.2
|
||||
*/
|
||||
protected void exposeException(RequestContext context, FlowExecutionException exception, Throwable rootCause) {
|
||||
// note that all Throwables are Serializable so putting them in flash
|
||||
|
||||
@@ -84,9 +84,9 @@ public interface FlowExecutionListener {
|
||||
* Called after a new flow session has been created but before it starts.
|
||||
* Useful for setting arbitrary attributes in the session before the flow
|
||||
* starts.
|
||||
* @since 1.0.2
|
||||
* @param context the source of the event
|
||||
* @param session the session that was created
|
||||
* @since 1.0.2
|
||||
*/
|
||||
public void sessionCreated(RequestContext context, FlowSession session);
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ import org.springframework.webflow.execution.support.FlowDefinitionRedirect;
|
||||
* @see RequestParameterFlowExecutorArgumentHandler
|
||||
* @see RequestPathFlowExecutorArgumentHandler
|
||||
*
|
||||
* @since 1.0.2
|
||||
*
|
||||
* @author Andrej Zachar
|
||||
* @author Erwin Vervaet
|
||||
*/
|
||||
|
||||
@@ -31,6 +31,8 @@ import org.springframework.webflow.executor.ResponseInstruction;
|
||||
*
|
||||
* @see ViewSelection
|
||||
*
|
||||
* @since 1.0.2
|
||||
*
|
||||
* @author Erwin Vervaet
|
||||
*/
|
||||
public abstract class ResponseInstructionHandler {
|
||||
|
||||
@@ -62,6 +62,7 @@ public abstract class AbstractExternalizedFlowExecutionTests extends AbstractFlo
|
||||
/**
|
||||
* Constructs an externalized flow execution test with given name.
|
||||
* @param name the name of the test
|
||||
* @since 1.0.2
|
||||
*/
|
||||
public AbstractExternalizedFlowExecutionTests(String name) {
|
||||
super(name);
|
||||
|
||||
@@ -105,6 +105,7 @@ public abstract class AbstractFlowExecutionTests extends TestCase {
|
||||
/**
|
||||
* Constructs a flow execution test with given name.
|
||||
* @param name the name of the test
|
||||
* @since 1.0.2
|
||||
*/
|
||||
public AbstractFlowExecutionTests(String name) {
|
||||
super(name);
|
||||
@@ -401,6 +402,7 @@ public abstract class AbstractFlowExecutionTests extends TestCase {
|
||||
* the active flow session and cleared on the next user event.
|
||||
* @param attributeName the name of the attribute
|
||||
* @return the attribute value
|
||||
* @since 1.0.2
|
||||
*/
|
||||
protected Object getFlashAttribute(String attributeName) {
|
||||
return getFlowExecution().getActiveSession().getFlashMap().get(attributeName);
|
||||
@@ -413,6 +415,7 @@ public abstract class AbstractFlowExecutionTests extends TestCase {
|
||||
* @param attributeName the name of the attribute
|
||||
* @return the attribute value
|
||||
* @throws IllegalStateException if the attribute was not present
|
||||
* @since 1.0.2
|
||||
*/
|
||||
protected Object getRequiredFlashAttribute(String attributeName) throws IllegalStateException {
|
||||
return getFlowExecution().getActiveSession().getFlashMap().getRequired(attributeName);
|
||||
|
||||
@@ -65,6 +65,7 @@ public abstract class AbstractXmlFlowExecutionTests extends AbstractExternalized
|
||||
/**
|
||||
* Constructs an XML flow execution test with given name.
|
||||
* @param name the name of the test
|
||||
* @since 1.0.2
|
||||
*/
|
||||
public AbstractXmlFlowExecutionTests(String name) {
|
||||
super(name);
|
||||
|
||||
Reference in New Issue
Block a user