commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r653898 - /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
Date Tue, 06 May 2008 20:05:55 GMT
Author: rahul
Date: Tue May  6 13:05:55 2008
New Revision: 653898

URL: http://svn.apache.org/viewvc?rev=653898&view=rev
Log:
Clarify one to many relationship between state machine definition and executor instance.

Modified:
    commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java

Modified: commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java?rev=653898&r1=653897&r2=653898&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java (original)
+++ commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/SCXMLExecutor.java Tue
May  6 13:05:55 2008
@@ -312,6 +312,13 @@
 
     /**
      * Get the state machine that is being executed.
+     * <b>NOTE:</b> This is the state machine definition or model used by this
+     * executor instance. It may be shared across multiple executor instances
+     * and as a best practice, should not be altered. Also note that
+     * manipulation of instance data for the executor should happen through
+     * its root context or state contexts only, never through the direct
+     * manipulation of any {@link Datamodel}s associated with this state
+     * machine definition.
      *
      * @return Returns the stateMachine.
      */



Mime
View raw message