commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lupu Slobodu" <lupu.slob...@gmail.com>
Subject SCXML
Date Fri, 28 Dec 2007 18:55:39 GMT
Is there a chance to know at the parsing time what state is a (custom)
action going to run in? This could be useful if one wants to initialize and
validate an action handler registry that would associate action handlers to
particular states.

While it is possible to determine the current sate at run time and
dynamically instantiate the handlers( as the AbstractStateMachine does),
this approach  leaves room for potential inconsistencies (as a handler class
could not be defined)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message