[ 
https://issues.apache.org/jira/browse/SCXML-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ate Douma closed SCXML-111.
---------------------------
       Resolution: Invalid
    Fix Version/s:     (was: 2.0)

> EventDispatcher interface should be independent from SCXMLExecutor
> ------------------------------------------------------------------
>
>                 Key: SCXML-111
>                 URL: https://issues.apache.org/jira/browse/SCXML-111
>             Project: Commons SCXML
>          Issue Type: Improvement
>            Reporter: Ales Dolecek
>            Priority: Minor
>
> The SCXML requires that implemantations throw 
> "send.failed.typenotsupported.stateid.sendid" if event "type" is not 
> supported. The EventDispatcher interface however does not provide any means 
> to figure out which SCXMLExecutor invoked the send (or cancel) method nor 
> upon which Send object. This means that current EventDispatcher 
> implementations must hold reference to SCXMLExecutor which prevents them from 
> use with multiple instances (or handle all possible types).
> Passing SCXMLExecutor reference is not good solution since the 
> EventDispatcher could interfere with current processin (eg. via chage to 
> executor's context). Maybe the send method shoud return result indicating if 
> the send invocation was "successfull". The cancel method might do likewise.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to