Ronald, I agree that the interaction with tasks is a key place where care needs 
to be taken, and this was part of my motivation for raising the issue; if 
isSignalling is true for a task, but the nominated transition is not valid 
(either it is disabled or its precondition is false), then should the task end 
but not signal, or should these conditions be checked before the task_end even 
is fired and the end call be aborted.  I'm inclined to have teh task end, but 
not signal since I think the right place to insert such changes is in 
Token.signal

There's also the issue of how to handle this 'failure' - is throwing an 
exception sufficient/desirable and/or should there be associated events that 
are fired.

michael


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910177#3910177

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910177


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to