commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ales Dolecek (JIRA)" <j...@apache.org>
Subject [jira] Created: (SCXML-111) EventDispatcher interface should be independent from SCXMLExecutor
Date Wed, 15 Jul 2009 11:49:14 GMT
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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message