commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márcio Faria <faria.mar...@ymail.com>
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,

Marcio




      __________________________________________________________________
Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://ca..promos.yahoo.com/newmail/overview2/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message