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 [EMAIL PROTECTED] Datamodel}s associated with this state + * machine definition. * * @return Returns the stateMachine. */