Got thinking about SHALE-268 [1], that lead to a couple of things:

a) It will need add/removeListener methods on the DialogContext. Would
the preference be to provide the basic listeners book-keeping bits in
an abstract base class or duplicate them in basic/scxml?

b) What is 'x' when we say 'Entered state x'? IOW, if the
DialogListener is to define a method with the following signature:

 (public) void onEntry(Object state)

what should the type of 'state' be, other than Object, in the presence
of varying underlying state machine implementations?

Thanks,
-Rahul

[1] https://issues.apache.org/struts/browse/SHALE-268

Reply via email to