You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Raj Rao (JIRA)" <ji...@apache.org> on 2006/09/05 17:56:22 UTC

[jira] Created: (SCXML-19) Need to resume a state machine from a specified state

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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (SCXML-19) Need to resume a state machine from a specified state

Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/SCXML-19?page=all ]

Rahul Akolkar updated SCXML-19:
-------------------------------

    Fix Version/s: 1.0

> 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
>             Fix For: 1.0
>
>         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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org