Need to resume a state machine from a specified state
-----------------------------------------------------
Key: SCXML-19
URL: http://issues.apache.org/jira/browse/SCXML-19
Project: Commons SCXML
Issue Type: Wish
Affects Versions: 0.5
Environment: Win XP, JDK 1.5
Reporter: Raj Rao
Attachments: AbstractStateMachine.java
I want a feature that does the following:
1. Consider a state transition from S1 -> S2 -> S3 -> S4, the initial state
being "S1".
2. Instantiate a state machine and set its initial state to "S3"
3. Basically, I am resuming the state machine to start from state "S3", and I
don't want the engine to invoke the OnEntry executable content applicable to
state "S3". I also want to prevent any EntryListeners from being executed on
resuming the state machine from state "S3". Here the assumption is that the
state machine had earlier run from "S1" to "S3", and at a later point in time I
want to resume the state machine from "S3".
Currently, the OnEntry and EntryListeners are executed when I set the new
initial start state in the state machine and do a engine.go()
I have attached a modifed AbstractStateMachine.java where I attempted to
disable the EntryListeners on a resume.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]