commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márcio Faria <>
Subject [Javaflow] Access to the resumed target of a Continuation
Date Tue, 01 Sep 2009 23:05:08 GMT
Dear Javaflow's crew,

What is the recommended way to access the Runnable 'target' from a Continuation after calling
'Continuation.continueWith(....)' ? Suppose that Continuation was loaded from a file, so I
don't have the reference to the original 'target' Object.

Under these conditions, do we have to resort to a 'pContext' object, which would then be set
by the resumed Runnable 'target' itself? 

Do you anticipate any problem with the above approach? Is there a better way to get a reference
to the resumed Runnable?

Thanks in advance,


Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message